Fix Boersen-zeitung.de (timing)

This commit is contained in:
magnolia1234 2024-03-04 13:55:32 +01:00
parent 78fc1f1213
commit 22df695375
5 changed files with 20 additions and 44 deletions

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
Fix Boersen-zeitung.de (timing)
* v3.5.8.0 (2024-03-03)
Add Autosport (free articles only)

View file

@ -826,12 +826,14 @@ else if (matchDomain('bild.de')) {
}
else if (matchDomain('boersen-zeitung.de')) {
let url = window.location.href;
let paywall = document.querySelector('storefront-element[child-id="paywall"]');
if (paywall) {
removeDOMElement(paywall);
replaceDomElementExt(url, false, false, 'article');
}
window.setTimeout(function () {
let paywall = document.querySelector('storefront-section#paywall');
if (paywall) {
removeDOMElement(paywall);
let url = window.location.href;
replaceDomElementExt(url, false, false, 'article');
}
}, 1000);
}
else if (matchDomain('cicero.de')) {
@ -2668,8 +2670,8 @@ else if (matchDomain(nl_dpg_adr_domains.concat(['hln.be']))) {
}
else if (matchDomain(nl_dpg_media_domains)) {
let banners = document.querySelectorAll('div[data-temptation-position^="PAGE_"], div[class^="ad--"]');
let paywall = document.querySelectorAll('[data-temptation-position^="ARTICLE_"]');
let banners = document.querySelectorAll('div[data-temptation-position^="PAGE_"], div[class^="ad--"], div[class^="_3iyhos"]');
let paywall = document.querySelectorAll('aside[data-temptation-position^="ARTICLE_"]');
removeDOMElement(...banners, ...paywall);
}

View file

@ -1,6 +1,6 @@
{
"###_remove_sites": {
"cs_code": "bild.de, dn.se, gazetaprawna.pl, gp.se, group_haaretz, handelsblatt.com, mailplus.co.uk, politiken.dk, theinformation.com",
"cs_code": "bild.de, dn.se, faithfullymagazine.com, gazetaprawna.pl, gp.se, group_haaretz, handelsblatt.com, mailplus.co.uk, politiken.dk, theinformation.com",
"domain": "###"
},
"Abajournal.com": {
@ -165,7 +165,7 @@
"Dealstreetasia.com": {
"allow_cookies": 1,
"domain": "dealstreetasia.com",
"ld_json_next": "div.subscribe-now|article"
"ld_json_next": "div.subscribe-now,div.overlay|article"
},
"Deutsche-wirtschafts-nachrichten.de": {
"add_ext_link": "div#article-teaser-blocks|div.teaser_extra",
@ -220,11 +220,6 @@
"block_regex": "\\.eviemagazine\\.com\\/api\\/trpc\\/post\\.paywall",
"domain": "eviemagazine.com"
},
"Faithfullymagazine.com": {
"allow_cookies": 1,
"domain": "faithfullymagazine.com",
"ld_json": "div.pmpro_content_message|div.content-inner"
},
"Farmersjournal.ie": {
"amp_redirect": "div#memberplusModal.in",
"domain": "farmersjournal.ie"
@ -443,6 +438,11 @@
"domain": "lsa-conso.fr",
"useragent": "googlebot"
},
"Luxurydaily.com": {
"allow_cookies": 1,
"domain": "luxurydaily.com",
"ld_json_url": "div.call-to-action|div.body|||meta[name='id']"
},
"Lyrik.fr": {
"allow_cookies": 1,
"block_regex": "\\.qiota\\.com",

View file

@ -11,12 +11,6 @@
"block_regex": "(\\.cm\\.bloomberg\\.com\\/|assets\\.bwbx\\.io\\/s\\d\\/javelin\\/.+\\/transporter\\/)",
"upd_version": "3.2.7.1"
},
"CartaCapital": {
"domain": "cartacapital.com.br",
"allow_cookies": 1,
"cs_code": "[{\"cond\":\"div.contentSoft\", \"rm_attrib\":\"class\"}]",
"upd_version": "3.5.5.7"
},
"Condé Nast magazines": {
"domain": "###_usa_conde_nast",
"group": [
@ -95,20 +89,6 @@
"block_regex": "(\\.ilsole24ore\\.com\\/zephr\\/feature|\\.cloudfront\\.net\\/embed\\/widget\\/subx.+\\.js)",
"upd_version": "3.5.7.7"
},
"Kurier.at": {
"domain": "kurier.at",
"allow_cookies": 1,
"block_regex": "\\.tinypass\\.com\\/",
"cs_code": "[{\"cond\":\"div#cfs-paywall-container\", \"rm_elem\":1, \"elems\":[{\"cond\":\"div.paywall\", \"rm_attrib\":\"class|style\"}]}]",
"upd_version": "3.5.5.2"
},
"Los Angeles Times": {
"domain": "latimes.com",
"allow_cookies": 1,
"block_regex": "\\.californiatimes\\.com\\/meteringjs",
"cs_block": 1,
"upd_version": "3.5.5.4"
},
"Mediahuis Nederland Regional (removed)": {
"domain": "###_nl_mediahuis_region",
"group": [],
@ -128,13 +108,6 @@
"cs_code": "[{\"cond\":\"div.cg-article-salebox\", \"rm_elem\":1, \"elems\":[{\"cond\":\"div.cg_article_meat>[style]\", \"rm_attrib\":\"style\"}, {\"cond\":\"article.article_status-cut\", \"rm_class\":\"article_status-cut\"}]}]",
"upd_version": "3.5.6.6"
},
"San Diego Union Tribune": {
"domain": "sandiegouniontribune.com",
"allow_cookies": 1,
"block_regex": "\\.californiatimes\\.com\\/meteringjs",
"cs_block": 1,
"upd_version": "3.5.5.4"
},
"SPH Media": {
"domain": "###_sg_sph_media",
"group": [

View file

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