Add Beleggersbelangen.nl (Roularta)

This commit is contained in:
magnolia1234 2023-09-02 09:09:17 +02:00
parent d5a9e4ea45
commit 7afb462136
8 changed files with 51 additions and 26 deletions

View file

@ -721,6 +721,7 @@ Grouped in options:\
*[ProMedia Group](https://www.promedia.nl/publicaties)* sites (opt-in to custom sites)\
*Roularta Media Group* sites like\
[Artsenkrant](https://www.artsenkrant.com) -
[Beleggers Belangen](https://www.beleggersbelangen.nl) -
[Flair.be](https://www.flair.be/nl) -
[Knack](https://www.knack.be) -
[Krant van West-Vlaanderen](https://kw.be) -

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
Add Beleggersbelangen.nl (Roularta)
Add Revista Oeste (Brazil)
Add Wissenschaft.de
Fix BQ Prime (js)

View file

@ -8,7 +8,7 @@ var dompurify_loaded = (typeof DOMPurify === 'function');
var ar_grupo_clarin_domains = ['clarin.com', 'lavoz.com.ar', 'losandes.com.ar'];
var be_groupe_ipm_domains = ['dhnet.be', 'lalibre.be', 'lavenir.net'];
var be_roularta_domains = ['artsenkrant.com', 'femmesdaujourdhui.be', 'flair.be', 'knack.be', 'kw.be', 'levif.be', 'libelle.be'];
var be_roularta_domains = ['artsenkrant.com', 'beleggersbelangen.nl', 'femmesdaujourdhui.be', 'flair.be', 'knack.be', 'kw.be', 'levif.be', 'libelle.be'];
var ca_gcm_domains = ['lesoleil.com'].concat(['latribune.ca', 'lavoixdelest.ca', 'ledroit.com', 'ledroitfranco.com', 'lenouvelliste.ca', 'lequotidien.com']);
var ca_torstar_domains = ['niagarafallsreview.ca', 'stcatharinesstandard.ca', 'thepeterboroughexaminer.com', 'therecord.com', 'thespec.com', 'thestar.com', 'wellandtribune.ca'];
var de_funke_medien_domains = ['abendblatt.de', 'braunschweiger-zeitung.de', 'morgenpost.de', 'nrz.de', 'otz.de', 'thueringer-allgemeine.de', 'tlz.de', 'waz.de', 'wp.de', 'wr.de'];
@ -2257,6 +2257,17 @@ else if (matchDomain('ftm.nl')) {
}
else if (matchDomain(be_roularta_domains)) {
if (matchDomain('beleggersbelangen.nl')) {
let paywall = document.querySelector('div.unlimited-access');
if (paywall) {
removeDOMElement(paywall);
let no_account = document.querySelector('div.no-account');
if (no_account)
no_account.classList.remove('no-account');
let content_inner = document.querySelector('div.content-inner[style]');
if (content_inner)
content_inner.removeAttribute('style');
} else {
let paywall = document.querySelector('div[id*="wall-modal"]');
if (paywall) {
removeDOMElement(paywall);
@ -2280,9 +2291,11 @@ else if (matchDomain(be_roularta_domains)) {
elem.src = elem.getAttribute('data-lazy-src');
}
}
}
let ads = document.querySelectorAll('div.rmgAd');
hideDOMElement(...ads);
}
}
else if (matchDomain(['lc.nl', 'dvhn.nl']) || document.querySelector('link[href*=".ndcmediagroep.nl/"]')) {
if (true) {

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.3.1.6"
"version": "3.3.1.7"
}

View file

@ -76,6 +76,7 @@
"Capital.bg": {
"allow_cookies": 1,
"domain": "capital.bg",
"ld_json": "div.paywall|div.story-content|1",
"useragent": "googlebot"
},
"Chicago.suntimes.com": {

View file

@ -96,6 +96,7 @@
"*://*.barandbench.com/*",
"*://*.barrons.com/*",
"*://*.bd.nl/*",
"*://*.beleggersbelangen.nl/*",
"*://*.belfasttelegraph.co.uk/*",
"*://*.bendigoadvertiser.com.au/*",
"*://*.beobachter.ch/*",
@ -794,5 +795,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.3.1.6"
"version": "3.3.1.7"
}

View file

@ -1844,6 +1844,7 @@ var defaultSites = {
domain: "###_be_roularta",
group: [
"artsenkrant.com",
"beleggersbelangen.nl",
"femmesdaujourdhui.be",
"flair.be",
"knack.be",

View file

@ -1,4 +1,11 @@
{
"Beleggersbelangen.nl": {
"domain": "beleggersbelangen.nl",
"allow_cookies": 1,
"block_regex": "(\\.beleggersbelangen\\.nl\\/script\\.js|\\.blueconic\\.net\\/)",
"cs_code": "[{\"cond\":\"div.unlimited-access\", \"rm_elem\": 1, \"elems\":[{\"cond\":\"div.no-account\", \"rm_class\": \"no-account\"}, {\"cond\":\"div.content-inner[style]\", \"rm_attrib\": \"style\"}]}]",
"upd_version": "3.3.1.8"
},
"Bild der Wissenschaft": {
"domain": "wissenschaft.de",
"allow_cookies": 1,