mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Fix Gannett Group (identify sites)
This commit is contained in:
parent
e4a75dc8b8
commit
2069a6c515
@ -1332,9 +1332,7 @@ ext_api.runtime.onMessage.addListener(function (message, sender) {
|
|||||||
nofix_sites.push(custom_domain);
|
nofix_sites.push(custom_domain);
|
||||||
else {
|
else {
|
||||||
rules = Object.values(defaultSites).filter(x => x.domain === group)[0];
|
rules = Object.values(defaultSites).filter(x => x.domain === group)[0];
|
||||||
if (group === '###_usa_gannett')
|
if (group === '###_de_madsack')
|
||||||
rules.amp_unhide = 1;
|
|
||||||
else if (group === '###_de_madsack')
|
|
||||||
if (!set_var_sites.includes(custom_domain))
|
if (!set_var_sites.includes(custom_domain))
|
||||||
set_var_sites.push(custom_domain);
|
set_var_sites.push(custom_domain);
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,7 @@ Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/release
|
|||||||
Post-release
|
Post-release
|
||||||
Add Haas Mediengruppe (opt-in to custom sites)
|
Add Haas Mediengruppe (opt-in to custom sites)
|
||||||
Remove Griffith Review (fix obsolete)
|
Remove Griffith Review (fix obsolete)
|
||||||
|
Fix Gannett Group (identify sites)
|
||||||
Fix LesEchos.fr (json)
|
Fix LesEchos.fr (json)
|
||||||
|
|
||||||
* v3.1.2.0 (2023-04-02)
|
* v3.1.2.0 (2023-04-02)
|
||||||
|
@ -91,7 +91,7 @@ window.setTimeout(function () {
|
|||||||
group = '###_ca_postmedia';
|
group = '###_ca_postmedia';
|
||||||
else if (document.querySelector('script[src*=".axate.io/"], script[src*=".agate.io/"]'))
|
else if (document.querySelector('script[src*=".axate.io/"], script[src*=".agate.io/"]'))
|
||||||
group = '###_uk_axate.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';
|
group = '###_usa_gannett';
|
||||||
else if (document.querySelector('script[src*="/treg.hearstnp.com/"]'))
|
else if (document.querySelector('script[src*="/treg.hearstnp.com/"]'))
|
||||||
group = '###_usa_hearst_comm';
|
group = '###_usa_hearst_comm';
|
||||||
|
@ -51,5 +51,5 @@
|
|||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"*://*/*"
|
"*://*/*"
|
||||||
],
|
],
|
||||||
"version": "3.1.2.2"
|
"version": "3.1.2.3"
|
||||||
}
|
}
|
||||||
|
@ -747,5 +747,5 @@
|
|||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "3.1.2.2"
|
"version": "3.1.2.3"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user