Fix Gannett Group (identify sites)

This commit is contained in:
magnolia1234 2023-04-07 09:47:27 +02:00
parent e4a75dc8b8
commit 2069a6c515
5 changed files with 5 additions and 6 deletions

View file

@ -1332,9 +1332,7 @@ ext_api.runtime.onMessage.addListener(function (message, sender) {
nofix_sites.push(custom_domain);
else {
rules = Object.values(defaultSites).filter(x => x.domain === group)[0];
if (group === '###_usa_gannett')
rules.amp_unhide = 1;
else if (group === '###_de_madsack')
if (group === '###_de_madsack')
if (!set_var_sites.includes(custom_domain))
set_var_sites.push(custom_domain);
}

View file

@ -5,6 +5,7 @@ Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/release
Post-release
Add Haas Mediengruppe (opt-in to custom sites)
Remove Griffith Review (fix obsolete)
Fix Gannett Group (identify sites)
Fix LesEchos.fr (json)
* v3.1.2.0 (2023-04-02)

View file

@ -91,7 +91,7 @@ window.setTimeout(function () {
group = '###_ca_postmedia';
else if (document.querySelector('script[src*=".axate.io/"], script[src*=".agate.io/"]'))
group = '###_uk_axate.io';
else if (document.querySelector('link[href*=".gannett-cdn.com/"]'))
else if (document.querySelector('img[srcset^="https://www.gannett-cdn.com/"]'))
group = '###_usa_gannett';
else if (document.querySelector('script[src*="/treg.hearstnp.com/"]'))
group = '###_usa_hearst_comm';

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.1.2.2"
"version": "3.1.2.3"
}

View file

@ -747,5 +747,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.1.2.2"
"version": "3.1.2.3"
}