mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 05:57:48 +01:00
Fix Il Fatto Quotidiano
This commit is contained in:
parent
7bbadfc479
commit
b2fc329f03
2 changed files with 4 additions and 3 deletions
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
|
||||
Post-release
|
||||
Fix Barron's (timing)
|
||||
Fix Il Fatto Quotidiano
|
||||
Fix Boston Globe (incognito mode)
|
||||
Fix Westfaelische Nachrichten & Westfalen-Blatt
|
||||
|
||||
|
|
|
@ -1074,9 +1074,9 @@ else if (matchDomain('ilfattoquotidiano.it')) {
|
|||
let amp_ads = document.querySelectorAll('amp-ad, div#_4sVideoContainer');
|
||||
removeDOMElement(...amp_ads);
|
||||
} else {
|
||||
let paywall = pageContains('section.article-body > p', '[...]');
|
||||
if (paywall.length > 0) {
|
||||
removeDOMElement(...paywall);
|
||||
let paywall = document.querySelector('div.read-more');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
window.location.href = url.split('?')[0] + 'amp';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue