mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:57:48 +01:00
Fix Business Standard
This commit is contained in:
parent
0b6e8ca488
commit
1cd2fe770c
5 changed files with 18 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
||||||
Changelog Bypass Paywalls Clean - Firefox
|
Changelog Bypass Paywalls Clean - Firefox
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Fix Business Standard
|
||||||
Fix Hearst Communications (newspapers)
|
Fix Hearst Communications (newspapers)
|
||||||
Fix The Athletic
|
Fix The Athletic
|
||||||
|
|
||||||
|
|
|
@ -2634,6 +2634,11 @@ else if (matchDomain('business-standard.com')) {
|
||||||
removeDOMElement(paywall);
|
removeDOMElement(paywall);
|
||||||
window.location.href = amphtml.href;
|
window.location.href = amphtml.href;
|
||||||
}
|
}
|
||||||
|
let story_content = document.querySelector('div.story-content');
|
||||||
|
if (story_content)
|
||||||
|
story_content.classList.remove('story-content');
|
||||||
|
let ads = document.querySelectorAll('div[class*="adv-"]');
|
||||||
|
removeDOMElement(...ads);
|
||||||
} else {
|
} else {
|
||||||
amp_unhide_subscr_section('amp-ad, amp-embed, .block-cont-amp, #divnonpaidcontent, div > div.article_image, div[subscriptions-actions], .reader');
|
amp_unhide_subscr_section('amp-ad, amp-embed, .block-cont-amp, #divnonpaidcontent, div > div.article_image, div[subscriptions-actions], .reader');
|
||||||
}
|
}
|
||||||
|
|
|
@ -707,5 +707,5 @@
|
||||||
"*://gcm.omerlocdn.com/*",
|
"*://gcm.omerlocdn.com/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "2.8.5.2"
|
"version": "2.8.5.3"
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
If you want to use custom sites (for non-listed sites) enable it in <small><button><a href="optin/opt-in.html" style="text-decoration:none;color:inherit">Opt-in</a></button></small>
|
If you want to use custom sites (for non-listed sites) enable it in <small><button><a href="optin/opt-in.html" style="text-decoration:none;color:inherit">Opt-in</a></button></small>
|
||||||
<strong>Custom sites enabled: <span id="custom-enabled"></span></strong><br>
|
<strong>Custom sites enabled: <span id="custom-enabled"></span></strong><br>
|
||||||
You can also just request permissions for the custom sites & post-release added sites (below).<br>
|
You can also just request permissions for the custom sites & post-release added sites (below).<br>
|
||||||
If permission is missing the icon badge will contain a 'C' (or '+C' if you can import the custom site from GitLab).<br>
|
If permission is missing the icon badge will contain a 'C' (or '+C' if you can import the custom site from GitLab; when no fix X).<br>
|
||||||
On Android: to enable custom sites you need the 'custom' add-on version (with access to all sites): <a href="https://addons.mozilla.org/en-US/firefox/addon/bypass-paywalls-clean-custom" target="_blank">Bypass Paywalls Clean (custom)</a>
|
On Android: to enable custom sites you need the 'custom' add-on version (with access to all sites): <a href="https://addons.mozilla.org/en-US/firefox/addon/bypass-paywalls-clean-custom" target="_blank">Bypass Paywalls Clean (custom)</a>
|
||||||
<br><br>
|
<br><br>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,6 +4,16 @@
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"block_regex": "\\.poool\\.fr\\/"
|
"block_regex": "\\.poool\\.fr\\/"
|
||||||
},
|
},
|
||||||
|
"Business Standard": {
|
||||||
|
"domain": "business-standard.com",
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js",
|
||||||
|
"cs_code": [{
|
||||||
|
"cond": "div.story-content",
|
||||||
|
"rm_class": "story-content"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"Esprit": {
|
"Esprit": {
|
||||||
"domain": "esprit.presse.fr",
|
"domain": "esprit.presse.fr",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
|
|
Loading…
Reference in a new issue