mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:51:58 +01:00
Fix GElocal.it
This commit is contained in:
parent
9e61d023f0
commit
4794843adc
3 changed files with 3 additions and 5 deletions
|
@ -631,10 +631,8 @@ function add_grouped_sites(init_rules) {
|
|||
}
|
||||
for (let domain of it_repubblica_domains) {
|
||||
allow_cookies.push(domain);
|
||||
if (['ilsecoloxix.it', 'lastampa.it', 'repubblica.it'].includes(domain))
|
||||
if (['gelocal.it', 'ilsecoloxix.it', 'lastampa.it', 'repubblica.it'].includes(domain))
|
||||
use_google_bot.push(domain);
|
||||
if (['gelocal.it'].includes(domain))
|
||||
use_google_bot.push('messaggeroveneto.gelocal.it');
|
||||
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) {
|
||||
|
|
|
@ -3,7 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
|
||||
Post-release
|
||||
Add Westfaelische Nachrichten (Germany)
|
||||
Fix Messaggero Veneto (GElocal)
|
||||
Fix GElocal.it
|
||||
|
||||
* v2.3.9.0 (2021-10-10)
|
||||
Add Lee Enterprises Group (local USA)
|
||||
|
|
|
@ -1131,7 +1131,7 @@ else if (matchDomain('rep.repubblica.it')) {
|
|||
else if (domain = matchDomain(it_repubblica_domains)) {
|
||||
let url = window.location.href.split('?')[0];
|
||||
if (!url.match(/\amp(\/)?$/)) {
|
||||
if (['ilsecoloxix.it', 'lastampa.it', 'repubblica.it'].includes(domain) || ['messaggeroveneto.gelocal.it'].includes(window.location.hostname)) {
|
||||
if (['gelocal.it', 'ilsecoloxix.it', 'lastampa.it', 'repubblica.it'].includes(domain)) {
|
||||
let premium = document.querySelector('#paywall, iframe#__limio_frame');
|
||||
if (premium) {
|
||||
removeDOMElement(premium);
|
||||
|
|
Loading…
Reference in a new issue