mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:27:48 +01:00
Fix Gannett Group (redirect restricted)
This commit is contained in:
parent
ab2afc9708
commit
88620150c9
5 changed files with 11 additions and 4 deletions
|
@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
Fix Bloomberg (Live TV limit)
|
Fix Bloomberg (Live TV limit)
|
||||||
|
Fix Gannett Group (redirect restricted)
|
||||||
Fix La Vanguardia (xhr)
|
Fix La Vanguardia (xhr)
|
||||||
Fix Mediahuis Noord (refresh)
|
Fix Mediahuis Noord (refresh)
|
||||||
Fix Roularta Media Group (js)
|
Fix Roularta Media Group (js)
|
||||||
|
|
|
@ -36,6 +36,7 @@ var uk_nat_world_domains = ['scotsman.com', 'yorkshirepost.co.uk'];
|
||||||
var usa_adv_local_domains = ['al.com', 'cleveland.com', 'lehighvalleylive.com', 'masslive.com', 'mlive.com', 'nj.com', 'oregonlive.com', 'pennlive.com', 'silive.com', 'syracuse.com'];
|
var usa_adv_local_domains = ['al.com', 'cleveland.com', 'lehighvalleylive.com', 'masslive.com', 'mlive.com', 'nj.com', 'oregonlive.com', 'pennlive.com', 'silive.com', 'syracuse.com'];
|
||||||
var usa_conde_nast_domains = ['architecturaldigest.com', 'bonappetit.com', 'epicurious.com', 'gq.com' , 'newyorker.com', 'vanityfair.com', 'vogue.com', 'wired.com'];
|
var usa_conde_nast_domains = ['architecturaldigest.com', 'bonappetit.com', 'epicurious.com', 'gq.com' , 'newyorker.com', 'vanityfair.com', 'vogue.com', 'wired.com'];
|
||||||
var usa_craincomm_domains = ['adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com', 'modernhealthcare.com'];
|
var usa_craincomm_domains = ['adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com', 'modernhealthcare.com'];
|
||||||
|
var usa_gannett_domains = ['azcentral.com', 'cincinnati.com', 'commercialappeal.com', 'courier-journal.com', 'democratandchronicle.com', 'detroitnews.com', 'freep.com', 'indystar.com', 'jsonline.com', 'knoxnews.com', 'news-press.com', 'northjersey.com', 'oklahoman.com', 'statesman.com', 'tennessean.com'];
|
||||||
var usa_genomeweb_domains = ['360dx.com', 'genomeweb.com', 'precisiononcologynews.com'];
|
var usa_genomeweb_domains = ['360dx.com', 'genomeweb.com', 'precisiononcologynews.com'];
|
||||||
var usa_hearst_comm_domains = ['expressnews.com', 'houstonchronicle.com', 'sfchronicle.com'];
|
var usa_hearst_comm_domains = ['expressnews.com', 'houstonchronicle.com', 'sfchronicle.com'];
|
||||||
var usa_lee_ent_domains = ['buffalonews.com', 'journalnow.com', 'omaha.com', 'richmond.com', 'tucson.com', 'tulsaworld.com'];
|
var usa_lee_ent_domains = ['buffalonews.com', 'journalnow.com', 'omaha.com', 'richmond.com', 'tucson.com', 'tulsaworld.com'];
|
||||||
|
@ -500,7 +501,7 @@ else if (matchDomain('aerztezeitung.de')) {
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain('allgaeuer-zeitung.de')) {
|
else if (matchDomain('allgaeuer-zeitung.de')) {
|
||||||
if (!window.location.search.includes('?type=amp')) {
|
if (!window.location.search.startsWith('?type=amp')) {
|
||||||
let paywall = document.querySelector('p.nfy-text-blur');
|
let paywall = document.querySelector('p.nfy-text-blur');
|
||||||
if (paywall) {
|
if (paywall) {
|
||||||
removeDOMElement(paywall);
|
removeDOMElement(paywall);
|
||||||
|
@ -4783,6 +4784,11 @@ else if (matchDomain('zerohedge.com')) {
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (matchDomain(usa_gannett_domains) || document.querySelector('img[srcset^="https://www.gannett-cdn.com/"], link[href*=".gannett-cdn.com/"]')) {
|
||||||
|
if (window.location.pathname.endsWith('/restricted/') && window.location.search.startsWith('?return='))
|
||||||
|
window.location.href = decodeURIComponent(window.location.href.split('?return=')[1]);
|
||||||
|
}
|
||||||
|
|
||||||
else if ((domain = matchDomain(usa_lee_ent_domains)) || document.querySelector('script[src*=".townnews.com/"][src*="/tncms/"]')) {
|
else if ((domain = matchDomain(usa_lee_ent_domains)) || document.querySelector('script[src*=".townnews.com/"][src*="/tncms/"]')) {
|
||||||
if (window.location.pathname.endsWith('.amp.html')) {
|
if (window.location.pathname.endsWith('.amp.html')) {
|
||||||
amp_unhide_access_hide('="hasAccess"', '="NOT hasAccess"', 'amp-ad, amp-embed, .amp-ads-container');
|
amp_unhide_access_hide('="hasAccess"', '="NOT hasAccess"', 'amp-ad, amp-embed, .amp-ads-container');
|
||||||
|
|
|
@ -93,7 +93,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('img[srcset^="https://www.gannett-cdn.com/"]'))
|
else if (document.querySelector('img[srcset^="https://www.gannett-cdn.com/"], link[href*=".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.5.4"
|
"version": "3.1.5.5"
|
||||||
}
|
}
|
||||||
|
|
|
@ -753,5 +753,5 @@
|
||||||
"*://html.onlineviewer.net/*",
|
"*://html.onlineviewer.net/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "3.1.5.4"
|
"version": "3.1.5.5"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue