Fix Il Fatto Quotidiano

master
magnolia1234 2021-10-31 20:18:57 +01:00
parent 23fea07470
commit fd945dca7f
2 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
Post-release
Fix Barron's (timing)
Fix Il Fatto Quotidiano
Fix Westfaelische Nachrichten & Westfalen-Blatt
* v2.4.1.3 (2021-10-28)

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