Add 3 more Gannett sites

This commit is contained in:
magnolia1234 2024-02-16 08:46:26 +01:00
parent 0762675e5f
commit ed76563209
8 changed files with 16 additions and 11 deletions

View file

@ -350,8 +350,11 @@ Grouped in options:\
[Milwaukee Journal Sentinel](https://www.jsonline.com) -
[The Arizona Republic](https://www.azcentral.com) -
[The Cincinnati Enquirer](https://www.cincinnati.com) -
[The Columbus Dispatch](https://www.dispatch.com) -
[The Courier-Journal](https://www.courier-journal.com) -
[The Des Moines Register](https://www.desmoinesregister.com) -
[The Detroit News](https://www.detroitnews.com) -
[The Florida Times-Union](https://www.jacksonville.com) -
[The Indianapolis Star](https://www.indystar.com) -
[The News-Press](https://www.news-press.com) -
[The Oklahoman](https://www.oklahoman.com) -

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Add 3 more Gannett sites
Add CH Media (opt-in to custom sites for unlisted)
Fix Advance Local (json)
Fix Groupe ESH Medias (iframely)

View file

@ -44,7 +44,7 @@ var usa_adv_local_domains = ['al.com', 'cleveland.com', 'lehighvalleylive.com',
var usa_arizent_custom_domains = ['accountingtoday.com', 'benefitnews.com', 'bondbuyer.com', 'dig-in.com', 'financial-planning.com', 'nationalmortgagenews.com'];
var usa_conde_nast_domains = ['architecturaldigest.com', 'bonappetit.com', 'cntraveler.com', 'epicurious.com', 'gq.com' , 'newyorker.com', 'vanityfair.com', 'vogue.com', 'wired.com'];
var usa_craincomm_domains = ['360dx.com', 'adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com', 'european-rubber-journal.com', 'genomeweb.com', 'modernhealthcare.com', 'pionline.com', 'plasticsnews.com', 'precisionmedicineonline.com', 'rubbernews.com', 'sustainableplastics.com', 'tirebusiness.com', 'utech-polyurethane.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_gannett_domains = ['azcentral.com', 'cincinnati.com', 'commercialappeal.com', 'courier-journal.com', 'democratandchronicle.com', 'desmoinesregister.com', 'detroitnews.com', 'dispatch.com', 'freep.com', 'indystar.com', 'jacksonville.com', 'jsonline.com', 'knoxnews.com', 'news-press.com', 'northjersey.com', 'oklahoman.com', 'statesman.com', 'tennessean.com'];
var usa_hearst_comm_domains = ['ctpost.com', 'expressnews.com', 'houstonchronicle.com', 'nhregister.com', 'sfchronicle.com', 'timesunion.com'];
var usa_lee_ent_domains = ['buffalonews.com', 'journalnow.com', 'journalstar.com', 'madison.com', 'nwitimes.com', 'omaha.com', 'richmond.com', 'stltoday.com', 'tucson.com', 'tulsaworld.com'];
var usa_mcc_domains = ['bnd.com', 'charlotteobserver.com', 'elnuevoherald.com', 'fresnobee.com', 'kansas.com', 'kansascity.com', 'kentucky.com', 'mcclatchydc.com', 'miamiherald.com', 'newsobserver.com', 'sacbee.com', 'star-telegram.com', 'thestate.com', 'tri-cityherald.com'];
@ -5905,7 +5905,7 @@ else if (matchDomain('zerohedge.com')) {
}, 1000);
}
else if (matchDomain(usa_gannett_domains) || document.querySelector('img[srcset^="https://www.gannett-cdn.com/"], link[href*=".gannett-cdn.com/"]')) {
else if (matchDomain(usa_gannett_domains) || document.querySelector('head > link[href*=".gannettdigital.com/"], head > 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]);
}

View file

@ -116,7 +116,7 @@ window.setTimeout(function () {
group = '###_uk_incisive_media';
else if (document.querySelector('script[src="https://cdn.blueconic.net/bridgetowermedia.js"], header.site-header > div.btm-header'))
group = '###_usa_bridge_tower';
else if (document.querySelector('img[srcset^="https://www.gannett-cdn.com/"], head > link[href*=".gannett-cdn.com/"]'))
else if (document.querySelector('head > link[href*=".gannettdigital.com/"], head > link[href*=".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.5.5.5"
"version": "3.5.5.6"
}

View file

@ -1,6 +1,6 @@
{
"###_remove_sites": {
"cs_code": "bild.de, dn.se, gp.se, group_haaretz, handelsblatt.com, politiken.dk, theinformation.com",
"cs_code": "bild.de, dn.se, gp.se, group_haaretz, handelsblatt.com, mailplus.co.uk, politiken.dk, theinformation.com",
"domain": "###"
},
"Abajournal.com": {
@ -433,11 +433,6 @@
"block_regex": "\\.qiota\\.com",
"domain": "lyrik.fr"
},
"Mailplus.co.uk": {
"allow_cookies": 1,
"block_regex": "\\.tinypass\\.com",
"domain": "mailplus.co.uk"
},
"Makorrishon.co.il": {
"allow_cookies": 1,
"domain": "makorrishon.co.il",

View file

@ -202,6 +202,7 @@
"*://*.demorgen.be/*",
"*://*.denverpost.com/*",
"*://*.deraktionaer.de/*",
"*://*.desmoinesregister.com/*",
"*://*.destentor.nl/*",
"*://*.detroitnews.com/*",
"*://*.df.cl/*",
@ -214,6 +215,7 @@
"*://*.diepresse.com/*",
"*://*.digiday.com/*",
"*://*.discovermagazine.com/*",
"*://*.dispatch.com/*",
"*://*.dn.se/*",
"*://*.doorbraak.be/*",
"*://*.dvhn.nl/*",
@ -370,6 +372,7 @@
"*://*.irishtimes.com/*",
"*://*.italian.tech/*",
"*://*.italiaoggi.it/*",
"*://*.jacksonville.com/*",
"*://*.jacobin.de/*",
"*://*.janes.com/*",
"*://*.japantimes.co.jp/*",
@ -855,5 +858,5 @@
"*://archive.vn/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.5.5.5"
"version": "3.5.5.6"
}

View file

@ -823,9 +823,12 @@ var defaultSites = {
"commercialappeal.com",
"courier-journal.com",
"democratandchronicle.com",
"desmoinesregister.com",
"detroitnews.com",
"dispatch.com",
"freep.com",
"indystar.com",
"jacksonville.com",
"jsonline.com",
"knoxnews.com",
"news-press.com",