Fix Nzz.ch (css)

master
magnolia1234 2 months ago
parent 14a4d6956f
commit c1a2347def

@ -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
Fix Nzz.ch (css)
* v3.6.2.0 (2024-04-01)
Add American Purpose

@ -1219,7 +1219,10 @@ else if (matchDomain('nw.de')) {
}
}
else if (matchDomain('nzz.ch')) {
else if (matchDomain(['nzz.ch', 'themarket.ch'])) {
let fade = document.querySelectorAll('.nzzinteraction');
for (let elem of fade)
elem.classList.remove('nzzinteraction');
let ads = document.querySelectorAll('div.resor');
hideDOMElement(...ads);
}
@ -1355,12 +1358,6 @@ else if (matchDomain('tagesspiegel.de')) {
}
}
else if (matchDomain('themarket.ch')) {
let fade = document.querySelectorAll('.nzzinteraction');
for (let elem of fade)
elem.classList.remove('nzzinteraction');
}
else if (matchDomain('tt.com')) {
let div_hidden = document.querySelectorAll('.exclusive-elem');
for (let elem of div_hidden)

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.6.2.0"
"version": "3.6.2.1"
}

@ -866,5 +866,5 @@
"*://archive.vn/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.6.2.0"
"version": "3.6.2.1"
}

@ -1762,8 +1762,7 @@ var defaultSites = {
"Neue Zürcher Zeitung (not epaper)": {
domain: "nzz.ch",
allow_cookies: 1,
block_regex: /(\.piano\.io\/|ens\.nzz\.ch\/.+\/Bootstrap\.js)/,
useragent: "googlebot"
block_regex: /(\.piano\.io\/|ens\.nzz\.ch\/.+\/Bootstrap\.js)/
},
"New Left Review": {
domain: "newleftreview.org",
@ -2563,8 +2562,7 @@ var defaultSites = {
"The Market.ch": {
domain: "themarket.ch",
allow_cookies: 1,
block_regex: /(\.piano\.io\/|ens\.themarket\.ch\/.+\/Bootstrap\.js)/,
useragent: "googlebot"
block_regex: /(\.piano\.io\/|ens\.themarket\.ch\/.+\/Bootstrap\.js)/
},
"The Nation": {
domain: "thenation.com",

@ -73,6 +73,13 @@
"add_ext_link_type": "archive.is",
"upd_version": "3.6.1.3"
},
"Neue Zürcher Zeitung": {
"domain": "nzz.ch",
"allow_cookies": 1,
"block_regex": "(\\.piano\\.io\\/|ens\\.nzz\\.ch\\/.+\\/Bootstrap\\.js)",
"cs_code": "[{\"cond\":\".nzzinteraction\", \"rm_class\":\"nzzinteraction\"}]",
"upd_version": "3.6.2.1"
},
"Newslaundry": {
"domain": "newslaundry.com",
"allow_cookies": 1,

@ -2,8 +2,8 @@
"addons": {
"magnolia@12.34": {
"updates": [
{ "version": "3.6.1.0",
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.6.1.0.xpi" }
{ "version": "3.6.2.0",
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.6.2.0.xpi" }
]
}
}

Loading…
Cancel
Save