mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Fix-update GElocal.it (social)
This commit is contained in:
parent
04884f48ac
commit
a47ffd7227
@ -555,7 +555,7 @@ function add_grouped_sites(init_rules) {
|
||||
}
|
||||
for (let domain of it_repubblica_domains) {
|
||||
allow_cookies.push(domain);
|
||||
blockedRegexes[domain] = /(scripts\.repubblica\.it\/pw\/pw\.js|cdn\.ampproject\.org\/v\d\/amp-(access|ad|user-notification)-.+\.js|\.repstatic\.it\/minify\/sites\/gelocal\/.+\/config\.cache\.php)/;
|
||||
blockedRegexes[domain] = /(scripts\.repubblica\.it\/pw\/pw\.js|cdn\.ampproject\.org\/v\d\/amp-(access|ad|user-notification)-.+\.js)/;
|
||||
}
|
||||
for (let domain of nl_pg_domains)
|
||||
remove_cookies_select_drop[domain] = ['TID_ID'];
|
||||
|
@ -2,6 +2,7 @@
|
||||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Fix-update GElocal.it (social)
|
||||
|
||||
* v2.2.2.0 (2021-05-23)
|
||||
Add MediaNama (India)
|
||||
|
@ -1063,14 +1063,15 @@ else if (domain = matchDomain(it_repubblica_domains)) {
|
||||
amphtml = {href: (url.split('?')[0] + '/amp').replace('//amp', '/amp')};
|
||||
if (amphtml)
|
||||
window.location.href = amphtml.href;
|
||||
} else {
|
||||
window.setTimeout(function () {
|
||||
let article_body = document.querySelector('div#article-body[style]');
|
||||
if (article_body)
|
||||
article_body.removeAttribute('style');
|
||||
}, 1000); // Delay (in milliseconds)
|
||||
}
|
||||
}
|
||||
if (!['lastampa.it', 'repubblica.it'].includes(domain)) {
|
||||
window.setTimeout(function () {
|
||||
let article_body = document.querySelector('div#article-body[style]');
|
||||
if (article_body)
|
||||
article_body.removeAttribute('style');
|
||||
}, 1000); // Delay (in milliseconds)
|
||||
}
|
||||
} else {
|
||||
let paywall;
|
||||
if (['lastampa.it', 'repubblica.it'].includes(domain)) {
|
||||
|
Loading…
Reference in New Issue
Block a user