Fix Il Fatto Quotidiano

This commit is contained in:
magnolia1234 2021-10-31 20:19:15 +01:00
parent 7bbadfc479
commit b2fc329f03
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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';
}
}