mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:51:58 +01:00
Update block general paywall script (TownNews & fix Pigeon)
This commit is contained in:
parent
8e42171b1d
commit
7b960c8194
4 changed files with 9 additions and 10 deletions
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
|
||||
Post-release
|
||||
Fix MIT Sloan Management Review
|
||||
Update block general paywall script (TownNews & fix Pigeon)
|
||||
|
||||
* v2.9.7.0 (2022-12-11)
|
||||
Add Handelsblatt
|
||||
|
|
|
@ -4324,14 +4324,14 @@ else if (matchDomain('substack.com') || document.querySelector('script[src^="htt
|
|||
}
|
||||
}
|
||||
|
||||
else if ((domain = matchDomain(usa_lee_ent_domains)) || document.querySelector('a[href^="https://bloxcms.com"][title^="BLOX"]')) {
|
||||
else if ((domain = matchDomain(usa_lee_ent_domains)) || document.querySelector('script[src*=".townnews.com/"][src*="/tncms/"]')) {
|
||||
if (window.location.pathname.endsWith('.amp.html')) {
|
||||
amp_unhide_access_hide('="hasAccess"', '="NOT hasAccess"', 'amp-ad, amp-embed, .amp-ads-container');
|
||||
let elem_hidden = document.querySelectorAll('html[class], body[class]');
|
||||
for (let elem of elem_hidden)
|
||||
elem.removeAttribute('class');
|
||||
} else if (!domain) {
|
||||
let subscriber_only = document.querySelectorAll('div.subscriber-only');
|
||||
let subscriber_only = document.querySelectorAll('div.subscriber-only:not(.encrypted-content)');
|
||||
for (let elem of subscriber_only) {
|
||||
elem.removeAttribute('style');
|
||||
elem.removeAttribute('class');
|
||||
|
|
|
@ -713,5 +713,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.9.7.3"
|
||||
"version": "2.9.7.4"
|
||||
}
|
||||
|
|
12
sites.js
12
sites.js
|
@ -2071,11 +2071,6 @@ var defaultSites = {
|
|||
}
|
||||
]
|
||||
},
|
||||
"TownNews sites (Blox CMS)": {
|
||||
domain: "###_usa_townnews",
|
||||
group: [],
|
||||
block_regex: /\.com\/shared-content\/art\/tncms\/user\/user\.js/
|
||||
},
|
||||
"Tribune Publishing Company": {
|
||||
domain: "###_usa_tribune",
|
||||
group: [
|
||||
|
@ -2242,7 +2237,6 @@ var defaultSites = {
|
|||
},
|
||||
"Pigeon (WordPress plugin)": {
|
||||
domain: "###_wp_pigeon",
|
||||
group: [],
|
||||
allow_cookies: 1,
|
||||
block_regex_general: /\/c\/assets\/pigeon\.js/
|
||||
},
|
||||
|
@ -2261,6 +2255,10 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex_general: /cdn\.tinypass\.com\//
|
||||
},
|
||||
"TownNews sites (Blox CMS; not encrypted)": {
|
||||
domain: "###_usa_townnews",
|
||||
block_regex_general: /\.com\/shared-content\/art\/tncms\/user\/user\.js/
|
||||
},
|
||||
"TribDss": {
|
||||
domain: "tribdss.com",
|
||||
allow_cookies: 1,
|
||||
|
@ -2366,7 +2364,7 @@ var custom_flex_not = {
|
|||
"###_usa_gannett": ["usatoday.com"],
|
||||
"###_usa_hearst_comm": ["sfgate.com"],
|
||||
"###_usa_mcc": ["mcclatchy.com"],
|
||||
"###_usa_townnews": ["townnews.com", "galvnews.com", "nola.com", "theadvocate.com"]
|
||||
"###_usa_townnews": ["townnews.com", "nola.com", "theadvocate.com"]
|
||||
}
|
||||
var custom_flex_domains;
|
||||
var custom_flex_not_domains;
|
||||
|
|
Loading…
Reference in a new issue