Fix TownNews sites (js)

This commit is contained in:
magnolia1234 2023-03-27 18:54:50 +02:00
parent 34617dc186
commit a1aee1d648
5 changed files with 6 additions and 5 deletions

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Fix TownNews sites (js)
* v3.1.1.0 (2023-03-26)
Add Flair.nl

View File

@ -82,7 +82,7 @@ window.setTimeout(function () {
} else if (hostname.endsWith('.co.uk')) {
if (document.querySelector('footer > div a[href^="https://www.nationalworldplc.com"]'))
group = '###_uk_nat_world';
} else if (hostname.match(/\.(ca|com|net|org)$/)) {
} else if (hostname.match(/\.(ca|com|net|news|org)$/)) {
if (document.querySelector('picture > source[srcset*="%2Fgcm.omerlocdn.com%2F"]'))
group = '###_ca_gcm';
else if (document.querySelector('script[src*=".postmedia.digital/"], meta[content*=".postmedia.digital/"]'))

View File

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.1.1.0"
"version": "3.1.1.1"
}

View File

@ -744,5 +744,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.1.1.0"
"version": "3.1.1.1"
}

View File

@ -2358,7 +2358,7 @@ var defaultSites = {
},
"TownNews sites (Blox CMS; not encrypted)": {
domain: "###_usa_townnews",
block_regex_general: /\.com\/shared-content\/art\/tncms\/user\/user\.js/
block_regex_general: /\/shared-content\/art\/tncms\/user\/user\.js/
},
"TribDss": {
domain: "tribdss.com",
@ -2467,7 +2467,7 @@ var custom_flex_not = {
"###_uk_axate.io": ["thinkofx.net"],
"###_usa_hearst_comm": ["sfgate.com"],
"###_usa_mcc": ["mcclatchy.com"],
"###_usa_townnews": ["townnews.com"]
"###_usa_townnews": ["bloxdigital.com", "townnews.com"]
}
var custom_flex_domains;
var custom_flex_not_domains;