mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Fix Espresso.repubblica.it (amp)
This commit is contained in:
parent
207e88c08f
commit
8057c99960
@ -8,6 +8,7 @@ Fix Australian Community Media (images)
|
||||
Fix Lequipe.fr & LesEchos.fr (refresh)
|
||||
Fix New York Magazine sites (cookies)
|
||||
Fix NYTimes (game stats)
|
||||
Fix Espresso.repubblica.it (amp)
|
||||
Fix SeekingAlpha (captcha)
|
||||
Fix TheTimes.co.uk (epaper & archive)
|
||||
Update block general paywall script (limit NewsMemory)
|
||||
@ -1040,7 +1041,7 @@ Add Leeuwarder Courant & Dagblad van het Noorden (Netherlands)
|
||||
* v1.6.4.2 (2020-02-03)
|
||||
Add Fd.nl (Googlebot)
|
||||
Add Spectator.com.au & TheCourier.com.au
|
||||
Fix Repubblica.it - L'Espresso
|
||||
Fix Espresso.repubblica.it
|
||||
Fix TheAdvocate.com.au
|
||||
|
||||
* v1.6.4.1 (2020-01-31)
|
||||
|
@ -1407,7 +1407,7 @@ else if (matchDomain('rep.repubblica.it')) {
|
||||
}
|
||||
}
|
||||
|
||||
else if (domain = matchDomain(it_repubblica_domains)) {
|
||||
else if (matchDomain(it_repubblica_domains)) {
|
||||
let url = window.location.href.split('?')[0];
|
||||
if (!url.match(/\amp(\/)?$/)) {
|
||||
let premium = document.querySelector('#paywall, iframe#__limio_frame');
|
||||
@ -1432,9 +1432,8 @@ else if (domain = matchDomain(it_repubblica_domains)) {
|
||||
let ads = document.querySelectorAll('div[id^="adv"]');
|
||||
removeDOMElement(...ads);
|
||||
} else {
|
||||
let paywall;
|
||||
if (['lastampa.it', 'repubblica.it'].includes(domain)) {
|
||||
paywall = document.querySelector('div[id^="paywall-banner"]');
|
||||
if (matchDomain(['lastampa.it', 'www.repubblica.it'])) {
|
||||
let paywall = document.querySelector('div[id^="paywall-banner"]');
|
||||
removeDOMElement(paywall);
|
||||
amp_unhide_subscr_section('amp-ad, amp-embed');
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user