Fix LeScienze.it

merge-requests/15/head
magnolia1234 11 months ago
parent 18a2a8387f
commit 86cee77cba

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Fix LeScienze.it
Fix LeTelegramme.fr (css)
Fix The Athletic (timing)

@ -2001,19 +2001,7 @@ else if (matchDomain('italiaoggi.it')) {
}
else if (matchDomain(it_gedi_domains)) {
if (matchDomain('lescienze.it')) {
let paywall = document.querySelector('.paywall-adagio');
if (paywall) {
let body_paywall = document.querySelector('#detail-body-paywall');
let shade = document.querySelector('.shade');
removeDOMElement(paywall, body_paywall, shade);
let detail_body_hidden = document.querySelectorAll('.detail_body[hidden]');
for (let elem of detail_body_hidden) {
elem.removeAttribute('hidden');
elem.removeAttribute('style');
}
}
} else if (matchDomain('espresso.repubblica.it')) {
if (matchDomain('espresso.repubblica.it')) {
if (!window.location.pathname.match(/\amp(\/)?$/)) {
let paywall = document.querySelector('div#paywall');
let amphtml = document.querySelector('link[rel="amphtml"]');

@ -895,7 +895,8 @@ var defaultSites = {
"espresso.repubblica.it"
],
allow_cookies: 1,
block_regex: /(scripts\.repubblica\.it\/pw\/pw\.js|cdn\.ampproject\.org\/v\d\/amp-(access|user-notification)-.+\.js)/
block_regex: /(scripts\.repubblica\.it\/pw\/pw\.js|cdn\.ampproject\.org\/v\d\/amp-(access|user-notification)-.+\.js)/,
useragent: "googlebot"
},
"Gruppo SAE.it (free articles only)": {
domain: "###_it_gruppo_sae",

Loading…
Cancel
Save