Add 4 more Lee Enterprises Group sites

Fix The Toronto Star (homepage)
This commit is contained in:
magnolia1234 2023-08-10 07:28:11 +02:00
parent ee3e5d022d
commit 888d064862
7 changed files with 46 additions and 87 deletions

View file

@ -337,10 +337,14 @@ Grouped in options:\
[San Francisco Chronicle](https://www.sfchronicle.com)\
*Lee Enterprises Group* sites like (opt-in to custom sites for unlisted)\
[Arizona Daily Star](https://tucson.com) -
[Lincoln Journal Star](https://journalstar.com) -
[Omaha World-Herald](https://omaha.com) -
[Richmond Times-Dispatch](https://richmond.com) -
[St. Louis Post-Dispatch](https://www.stltoday.com) -
[The Buffalo News](https://buffalonews.com) -
[The Times of Northwest Indiana](https://www.nwitimes.com) -
[Tulsa World](https://tulsaworld.com) -
[Wisconsin State Journal](https://madison.com) -
[Winston-Salem Journal](https://www.journalnow.com)\
*McClatchy Group* sites like (opt-in to custom sites for unlisted)\
[Belleville News-Democrat](https://www.bnd.com) -

View file

@ -3,8 +3,10 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Add 4 more Lee Enterprises Group sites
Fix Harvard Business Review (js)
Fix Stylist.co.uk (css)
Fix The Toronto Star (homepage)
* v3.2.8.0 (2023-08-06)
Add America's Test Kitchen

View file

@ -44,14 +44,14 @@ var usa_craincomm_domains = ['adage.com', 'autonews.com', 'chicagobusiness.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_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', 'journalstar.com', 'madison.com', 'nwitimes.com', 'omaha.com', 'richmond.com', 'stltoday.com', 'tucson.com', 'tulsaworld.com'];
var usa_mcc_domains = ['bnd.com', 'charlotteobserver.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'];
var usa_mng_domains = ['denverpost.com', 'eastbaytimes.com', 'mercurynews.com', 'ocregister.com', 'pe.com', 'twincities.com'];
var usa_outside_mag_domains = ["backpacker.com", "betamtb.com", "betternutrition.com", "cleaneatingmag.com", "climbing.com", "cyclingtips.com", "gymclimber.com", "outsideonline.com", "oxygenmag.com", "pelotonmagazine.com", "podiumrunner.com", "rockandice.com", "skimag.com", "trailrunnermag.com", "triathlete.com", "vegetariantimes.com", "velonews.com", "womensrunning.com", "yogajournal.com"];
var usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.com'];
// clean local storage of sites (with an exemption for hold-list)
var arr_localstorage_hold = ['augsburger-allgemeine.de', 'barrons.com', 'business-standard.com', 'businessinsider.com', 'businessoffashion.com', 'businesspost.ie', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'dvhn.nl', 'economictimes.com', 'eldiario.es', 'elespanol.com', 'elle.fr', 'elpais.com', 'elperiodico.com', 'enotes.com', 'estadao.com.br', 'forbes.com', 'fortune.com', 'freiepresse.de', 'gauchazh.clicrbs.com.br', 'globo.com', 'ilfoglio.it', 'inc42.com', 'indianexpress.com', 'ksta.de', 'kurier.at', 'lanouvellerepublique.fr', 'latimes.com', 'lc.nl', 'lesechos.fr', 'livemint.com', 'mid-day.com', 'mundodeportivo.com', 'nationalreview.com', 'nrc.nl', 'nw.de', 'nwzonline.de', 'nytimes.com', 'nzherald.co.nz', 'record.pt', 'ruhrnachrichten.de', 'rundschau-online.de', 'sandiegouniontribune.com', 'scmp.com', 'seekingalpha.com', 'telegraph.co.uk', 'tes.com', 'theatlantic.com', 'thebulletin.org', 'thecritic.co.uk', 'thetimes.co.uk', 'uol.com.br', 'wsj.com'].concat(be_roularta_domains, ca_gcm_domains, de_funke_medien_domains, de_lv_domains, de_vrm_domains, de_vrm_custom_domains, de_westfalen_medien_domains, es_epiberica_domains, es_epiberica_custom_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_gedi_domains, it_quotidiano_domains, ca_gcm_domains, nl_dpg_media_domains, no_nhst_media_domains, timesofindia_domains, usa_hearst_comm_domains, usa_mcc_domains);
var arr_localstorage_hold = ['augsburger-allgemeine.de', 'barrons.com', 'business-standard.com', 'businessinsider.com', 'businessoffashion.com', 'businesspost.ie', 'challenges.fr', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'corrieredellosport.it', 'cyclingtips.com', 'dvhn.nl', 'economictimes.com', 'eldiario.es', 'elespanol.com', 'elle.fr', 'elpais.com', 'elperiodico.com', 'enotes.com', 'estadao.com.br', 'forbes.com', 'fortune.com', 'freiepresse.de', 'gauchazh.clicrbs.com.br', 'globo.com', 'ilfoglio.it', 'inc42.com', 'indianexpress.com', 'ksta.de', 'kurier.at', 'lanouvellerepublique.fr', 'latimes.com', 'lc.nl', 'lesechos.fr', 'livemint.com', 'mid-day.com', 'mundodeportivo.com', 'nationalreview.com', 'nrc.nl', 'nw.de', 'nwzonline.de', 'nytimes.com', 'nzherald.co.nz', 'record.pt', 'ruhrnachrichten.de', 'rundschau-online.de', 'sandiegouniontribune.com', 'scmp.com', 'seekingalpha.com', 'telegraph.co.uk', 'tes.com', 'theatlantic.com', 'thebulletin.org', 'thecritic.co.uk', 'thetimes.co.uk', 'uol.com.br', 'wsj.com'].concat(be_roularta_domains, ca_gcm_domains, ca_torstar_domains, de_funke_medien_domains, de_lv_domains, de_vrm_domains, de_vrm_custom_domains, de_westfalen_medien_domains, es_epiberica_domains, es_epiberica_custom_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_gedi_domains, it_quotidiano_domains, ca_gcm_domains, nl_dpg_media_domains, no_nhst_media_domains, timesofindia_domains, usa_hearst_comm_domains, usa_mcc_domains);
if (!matchDomain(arr_localstorage_hold)) {
window.localStorage.clear();
}
@ -5188,6 +5188,8 @@ else if ((domain = matchDomain(usa_lee_ent_domains)) || matchDomain(ca_torstar_d
}
return n;
}
let paywall = document.querySelector('div.subscriber-offers');
removeDOMElement(paywall);
let subscriber_only = document.querySelectorAll('div.subscriber-only');
for (let elem of subscriber_only) {
if (elem.classList.contains('encrypted-content') && dompurify_loaded) {
@ -5202,7 +5204,7 @@ else if ((domain = matchDomain(usa_lee_ent_domains)) || matchDomain(ca_torstar_d
let banners = document.querySelectorAll('div.subscription-required, div.redacted-overlay');
removeDOMElement(...banners);
}
let ads = document.querySelectorAll('div.tnt-ads-container');
let ads = document.querySelectorAll('div.tnt-ads-container, div[class*="adLabelWrapper"]');
removeDOMElement(...ads);
}
}

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.2.8.2"
"version": "3.2.8.3"
}

View file

@ -345,6 +345,7 @@
"*://*.jgnt.co/*",
"*://*.journaldunet.com/*",
"*://*.journalnow.com/*",
"*://*.journalstar.com/*",
"*://*.jpost.com/*",
"*://*.jsonline.com/*",
"*://*.kansas.com/*",
@ -426,6 +427,7 @@
"*://*.lunion.fr/*",
"*://*.lvz.de/*",
"*://*.macrobusiness.com.au/*",
"*://*.madison.com/*",
"*://*.mainichi.jp/*",
"*://*.mallorcazeitung.es/*",
"*://*.mannheimer-morgen.de/*",
@ -485,6 +487,7 @@
"*://*.nrz.de/*",
"*://*.ntnews.com.au/*",
"*://*.nw.de/*",
"*://*.nwitimes.com/*",
"*://*.nwzonline.de/*",
"*://*.nybooks.com/*",
"*://*.nydailynews.com/*",
@ -564,11 +567,11 @@
"*://*.saltwire.com/*",
"*://*.sandiegouniontribune.com/*",
"*://*.schwaebische.de/*",
"*://*.schwarzwaelder-bote.de/*",
"*://*.science-et-vie.com/*",
"*://*.science.org/*",
"*://*.sciencesetavenir.fr/*",
"*://*.scientificamerican.com/*",
"*://*.schwarzwaelder-bote.de/*",
"*://*.scmp.com/*",
"*://*.scotsman.com/*",
"*://*.sdbj.com/*",
@ -599,6 +602,7 @@
"*://*.statista.com/*",
"*://*.stcatharinesstandard.ca/*",
"*://*.stereogum.com/*",
"*://*.stltoday.com/*",
"*://*.stocknews.com/*",
"*://*.studocu.com/*",
"*://*.stuttgarter-nachrichten.de/*",
@ -757,7 +761,6 @@
"*://*.zephr.com/*",
"*://*.amazonaws.com/*",
"*://*.blink.net/*",
"*://*.bntech.io/*",
"*://*.bwbx.io/*",
"*://*.californiatimes.com/*",
"*://*.cedscdn.it/*",
@ -777,5 +780,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.2.8.2"
"version": "3.2.8.3"
}

View file

@ -1277,13 +1277,17 @@ var defaultSites = {
group: [
"buffalonews.com",
"journalnow.com",
"journalstar.com",
"madison.com",
"nwitimes.com",
"omaha.com",
"richmond.com",
"stltoday.com",
"tucson.com",
"tulsaworld.com"
],
allow_cookies: 1,
block_regex: /(api\.bntech\.io\/js\/|\.com\/shared-content\/art\/tncms\/user\/user\.js|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
block_regex: /\.com\/shared-content\/art\/tncms\/api\/access\.js/
},
"Les Échos": {
domain: "lesechos.fr",
@ -2269,7 +2273,7 @@ var defaultSites = {
"wellandtribune.ca"
],
allow_cookies: 1,
block_regex: /(\.(com|ca)\/shared-content\/art\/tncms\/user\/user\.js|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/,
block_regex: /(\.(com|ca)\/shared-content\/art\/tncms\/api\/access\.js|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/,
cs_dompurify: 1
},
"The Verge (newsletter)": {
@ -2540,7 +2544,7 @@ var defaultSites = {
},
"TownNews sites (Blox CMS)": {
domain: "###_usa_townnews",
block_regex_general: /\/shared-content\/art\/tncms\/user\/user\.js/
block_regex_general: /\/shared-content\/art\/tncms\/api\/access\.js/
},
"TribDss": {
domain: "tribdss.com",

View file

@ -4,35 +4,6 @@
"allow_cookies": 1,
"block_regex": "\\.tinypass\\.com"
},
"Australian Community Media (daily)": {
"domain": "###_au_comm_media",
"group": [
"bendigoadvertiser.com.au",
"bordermail.com.au",
"canberratimes.com.au",
"centralwesterndaily.com.au",
"dailyadvertiser.com.au",
"dailyliberal.com.au",
"examiner.com.au",
"illawarramercury.com.au",
"newcastleherald.com.au",
"northerndailyleader.com.au",
"standard.net.au",
"theadvocate.com.au",
"thecourier.com.au",
"westernadvocate.com.au"
],
"allow_cookies": 1,
"block_regex": "\\.piano\\.io",
"cs_code": "[{\"cond\":\"div[class^='gradient-mask-']\", \"rm_attrib\": \"class\", \"elems\":[{\"cond\":\"div.hidden\", \"rm_class\": \"hidden\"}]}]",
"upd_version": "3.2.5.3"
},
"Auto Motor und Sport": {
"domain": "auto-motor-und-sport.de",
"allow_cookies": 1,
"block_regex": "\\.auto-motor-und-sport\\.de\\/thenewsbar\\/static\\/pw\\.js",
"new_site": 1
},
"Autocar.co.uk": {
"domain": "autocar.co.uk",
"allow_cookies": 1,
@ -57,32 +28,6 @@
"block_regex": "(\\.cm\\.bloomberg\\.com\\/|assets\\.bwbx\\.io\\/s\\d\\/javelin\\/.+\\/transporter\\/)",
"upd_version": "3.2.7.1"
},
"Business Standard": {
"domain": "business-standard.com",
"allow_cookies": 1,
"ld_json": "div.subscribe-page|div.storycontent",
"upd_version": "3.2.6.0"
},
"Crain Communications": {
"domain": "###_usa_craincomm",
"group": [
"adage.com",
"autonews.com",
"chicagobusiness.com",
"crainscleveland.com",
"crainsdetroit.com",
"crainsnewyork.com",
"modernhealthcare.com"
],
"allow_cookies": 1,
"block_regex": "(\\.tinypass\\.com\\/|[\\.\\/]{domain}\\/.+\\/js\\/js_.+\\.js)",
"exception": [{
"domain": "autonews.com",
"block_regex": "(\\.tinypass\\.com\\/|\\.{domain}\\/.+\\/js\\/js_.+\\.js)"
}
],
"upd_version": "3.2.5.9"
},
"Cxense": {
"domain": "cxense.com",
"allow_cookies": 1,
@ -132,28 +77,12 @@
"excluded_domains": ["piano.io", "asia.nikkei.com", "hbr.org", "japantimes.co.jp", "kurier.at", "onet.pl"],
"upd_version": "3.2.8.2"
},
"Schwarzwälder Bote": {
"domain": "schwarzwaelder-bote.de",
"allow_cookies": 1,
"block_regex": "\\.piano\\.io",
"useragent": "googlebot",
"cs_code": "[{\"cond\":\"div.mod-paywall\", \"rm_elem\":1}]",
"new_site": 1
},
"Star Tribune": {
"domain": "startribune.com",
"remove_cookies_select_drop": ["client_id"],
"cs_code": "[{\"cond\":\"div.ReactModalPortal\", \"rm_elem\": 1}, {\"cond\":\"body.ReactModal__Body--open\", \"rm_class\": \"ReactModal__Body--open\"}]",
"upd_version": "3.2.6.3"
},
"Stuttgarter Nachrichten": {
"domain": "stuttgarter-nachrichten.de",
"allow_cookies": 1,
"block_regex": "\\.piano\\.io",
"useragent": "googlebot",
"cs_code": "[{\"cond\":\"div.mod-paywall\", \"rm_elem\":1}]",
"new_site": 1
},
"Swarajyamag": {
"domain": "swarajyamag.com",
"allow_cookies": 1,
@ -161,12 +90,6 @@
"cs_code": "[{\"cond\":\"div#story-notification\", \"rm_elem\": 1, \"elems\":[{\"cond\":\"div#non-subscriber-text\", \"rm_attrib\": \"id\"}, {\"cond\":\"div.subscriber-text\", \"rm_attrib\": \"class\"}]}]",
"new_site": 1
},
"Telegraaf": {
"domain": "telegraaf.nl",
"allow_cookies": 1,
"ld_json": "data-hydrate[data-name='PaywallHandler']|div.DetailBodyBlocks",
"upd_version": "3.2.4.3"
},
"The Athletic": {
"domain": "###_usa_theathletic",
"group": [
@ -208,12 +131,33 @@
"useragent": "googlebot",
"upd_version": "3.1.4.0"
},
"The Toronto Star (+ local TorStar sites)": {
"domain": "###_ca_torstar",
"group": [
"niagarafallsreview.ca",
"stcatharinesstandard.ca",
"thepeterboroughexaminer.com",
"therecord.com",
"thespec.com",
"thestar.com",
"wellandtribune.ca"
],
"allow_cookies": 1,
"block_regex": "(\\.(com|ca)\\/shared-content\\/art\\/tncms\\/api\\/access\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
"cs_dompurify": 1,
"upd_version": "3.2.8.3"
},
"The Verge (newsletter)": {
"domain": "theverge.com",
"allow_cookies": 1,
"ld_json": "div.bg-paywall-fade|div.duet--article--article-body-component-container",
"new_site": 1
},
"TownNews sites (Blox CMS)": {
"domain": "###_usa_townnews",
"block_regex_general": "\\/shared-content\\/art\\/tncms\\/api\\/access\\.js",
"upd_version": "3.2.8.3"
},
"Verlagsgruppe Rhein Main": {
"allow_cookies": 1,
"domain": "###_de_vrm",