Add Roularta Media Group (be)

merge-requests/14/head
magnolia1234 1 year ago
parent 0f919ae941
commit 9e58c39866

@ -23,10 +23,11 @@ Or go to Tools > Add-ons (about:addons) > Extensions > Cogwheel/Settings - Insta
Custom xpi-file has host permissions for all sites.\ Custom xpi-file has host permissions for all sites.\
Minumum browser requirement: Firefox 86+. Minumum browser requirement: Firefox 86+.
If you want to install the latest [master ZIP-file from GitLab](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/archive/master/bypass-paywalls-firefox-clean-master.zip) use a Firefox browser which allows using unsigned add-ons like Firefox Developer Portable (go to about:config and set xpinstall.signatures.required to false) or LibreWolf (for both no automatic updates of add-on).\ If you want to permanently install the latest [master ZIP-file from GitLab](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/archive/master/bypass-paywalls-firefox-clean-master.zip) use a Firefox browser which allows using unsigned add-ons like Firefox Developer Portable (go to about:config and set xpinstall.signatures.required to false) or LibreWolf (for both no automatic updates of add-on).\
Or load a temporary add-on in regular Firefox (go to about:debugging#/runtime/this-firefox & load manifest.json from unpacked folder (of master-zip)). Or load a temporary add-on in regular Firefox (go to about:debugging#/runtime/this-firefox & load manifest.json from unpacked folder (of master-zip)).
By default BPC has limited host permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for non-listed sites). You can also just request permissions for the custom sites you added yourself (or click `clear cookies` (BPC-icon) to ask for permission for current site). By default BPC has limited host permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for non-listed sites). You can also just request permissions for the custom sites you added yourself (or click `clear cookies` (BPC-icon) to ask for permission for current site).\
You can also install the custom add-on version (with host permissions for all sites).
### Update ### Update
Add-on will automatically update or you can do a manual check for updates (in about:addons).\ Add-on will automatically update or you can do a manual check for updates (in about:addons).\
@ -38,7 +39,7 @@ For new sites you also have to opt-in to custom sites/request permissions for ne
Add-on was removed by Mozilla from add-on store.\ Add-on was removed by Mozilla from add-on store.\
Current installations will stay active, but with no more updates. Current installations will stay active, but with no more updates.
At the moment only the experimental GeckoView-based browser [SmartCookieWeb-Preview](https://github.com/CookieJarApps/SmartCookieWeb-Preview/releases) can install/sideload a xpi-file by url. At the moment only the experimental Mozac/GeckoView-based browser [SmartCookieWeb-Preview](https://github.com/CookieJarApps/SmartCookieWeb-Preview/releases) can install/sideload a xpi-file by url.
You can also switch to [Kiwi browser (Chromium)](https://play.google.com/store/apps/details?id=com.kiwibrowser.browser) or use the [adblocker filter/userscripts](https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters) You can also switch to [Kiwi browser (Chromium)](https://play.google.com/store/apps/details?id=com.kiwibrowser.browser) or use the [adblocker filter/userscripts](https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters)
@ -450,7 +451,6 @@ Grouped in options:\
[Le Parisien](https://www.leparisien.fr) - [Le Parisien](https://www.leparisien.fr) -
[Le Point](https://www.lepoint.fr) - [Le Point](https://www.lepoint.fr) -
[Le Télégramme](https://www.letelegramme.fr) - [Le Télégramme](https://www.letelegramme.fr) -
[Le Vif](https://www.levif.be) -
[Les Échos](https://www.lesechos.fr) - [Les Échos](https://www.lesechos.fr) -
[Les Inrockuptibles](https://www.lesinrocks.com) - [Les Inrockuptibles](https://www.lesinrocks.com) -
[Marianne](https://www.marianne.net) - [Marianne](https://www.marianne.net) -
@ -503,7 +503,11 @@ Grouped in options:\
*Groupe Sud Ouest* sites like\ *Groupe Sud Ouest* sites like\
[Charente libre](https://www.charentelibre.fr) - [Charente libre](https://www.charentelibre.fr) -
[La République des Pyrénées](https://www.larepubliquedespyrenees.fr) - [La République des Pyrénées](https://www.larepubliquedespyrenees.fr) -
[Sud Ouest](https://www.sudouest.fr) [Sud Ouest](https://www.sudouest.fr)\
*Roularta Media Group* sites like\
[Femmes d'Aujourd'hui](https://www.femmesdaujourdhui.be) -
[Flair](https://www.flair.be/fr) -
[Le Vif](https://www.levif.be)
##### Germany/Austria ##### Germany/Austria
[Allgäuer Zeitung](https://www.allgaeuer-zeitung.de) - [Allgäuer Zeitung](https://www.allgaeuer-zeitung.de) -
@ -617,8 +621,6 @@ Grouped in options:\
[Follow the Money](https://www.ftm.nl) - [Follow the Money](https://www.ftm.nl) -
[Groene Amsterdammer](https://www.groene.nl) - [Groene Amsterdammer](https://www.groene.nl) -
[Het Laatste Nieuws (link to archive.is)](https://www.hln.be) - [Het Laatste Nieuws (link to archive.is)](https://www.hln.be) -
[Knack](https://www.knack.be) -
[Krant van West-Vlaanderen](https://kw.be) -
[NRC Handelsblad](https://www.nrc.nl) - [NRC Handelsblad](https://www.nrc.nl) -
[Telegraaf](https://www.telegraaf.nl) - [Telegraaf](https://www.telegraaf.nl) -
[Vrij Nederland](https://www.vn.nl) [Vrij Nederland](https://www.vn.nl)
@ -647,7 +649,13 @@ Grouped in options:\
[De Gooi- en Eemlander](https://www.gooieneemlander.nl)\ [De Gooi- en Eemlander](https://www.gooieneemlander.nl)\
*Mediahuis Noord* sites like (opt-in to custom sites for unlisted)\ *Mediahuis Noord* sites like (opt-in to custom sites for unlisted)\
[Dagblad van het Noorden](https://www.dvhn.nl) - [Dagblad van het Noorden](https://www.dvhn.nl) -
[Leeuwarder Courant](https://www.lc.nl) [Leeuwarder Courant](https://www.lc.nl)\
*Roularta Media Group* sites like\
[Artsenkrant](https://www.artsenkrant.com) -
[Flair](https://www.flair.be/nl) -
[Knack](https://www.knack.be) -
[Krant van West-Vlaanderen](https://kw.be) -
[Libelle](https://www.libelle.be)
##### Norway ##### Norway
Grouped in options:\ Grouped in options:\

@ -406,7 +406,7 @@ ext_api.storage.local.get({
} else { } else {
ext_api.management.getSelf(function (result) { ext_api.management.getSelf(function (result) {
if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) { if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) {
let new_groups = ['###_de_noz_mhn']; let new_groups = ['###_be_roularta', '###_de_noz_mhn'];
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain))) || let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain))) ||
(enabledSites.includes('tinypass.com') && !enabledSites.includes('piano.io')); (enabledSites.includes('tinypass.com') && !enabledSites.includes('piano.io'));
if (open_options) if (open_options)

@ -4,6 +4,7 @@ Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/release
Post-release Post-release
Add DHnet.be Add DHnet.be
Add Roularta Media Group (be)
Add TagesAnzeiger.ch (link to archive.is) Add TagesAnzeiger.ch (link to archive.is)
Remove Asia Times (fix obsolete) Remove Asia Times (fix obsolete)
Remove Finance.si (fix obsolete) Remove Finance.si (fix obsolete)

@ -4,6 +4,7 @@ var domain;
var csDone = false; var csDone = false;
var csDoneOnce = false; var csDoneOnce = false;
var be_roularta_domains = ['artsenkrant.com', '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_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 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']; 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'];
@ -1680,7 +1681,7 @@ else if (matchDomain('lesechos.fr')) {
let data_article = data.article ? data.article : data.pageProps; let data_article = data.article ? data.article : data.pageProps;
if (data_article.dehydratedState) if (data_article.dehydratedState)
data_article = data_article.dehydratedState.queries[1].state; data_article = data_article.dehydratedState.queries[1].state;
let article = data_article.data.stripes[0].mainContent[0].data.description; let article = data_article.data.stripes[0].mainContent[0].data.description.replace(/allowfullscreen=''/g, '');
let url_loaded = data_article.data.path; let url_loaded = data_article.data.path;
if (url_loaded && !url.replace(/%20/g, '').includes(url_loaded)) if (url_loaded && !url.replace(/%20/g, '').includes(url_loaded))
refreshCurrentTab(); refreshCurrentTab();
@ -2074,7 +2075,7 @@ else if (matchDomain(it_gedi_domains)) {
else else
csDone = true; csDone = true;
} else if (window.location.hostname.match(/\.(be|nl)$/)) {//belgium/netherlands } else if (window.location.hostname.match(/\.(be|nl)$/) || matchDomain(['artsenkrant.com'])) {//belgium/netherlands
if (matchDomain('fd.nl')) { if (matchDomain('fd.nl')) {
let reg_modal = document.querySelector('div.modal.upsell'); let reg_modal = document.querySelector('div.modal.upsell');
@ -2087,20 +2088,23 @@ else if (matchDomain('ftm.nl')) {
removeDOMElement(...banners); removeDOMElement(...banners);
} }
else if (matchDomain(['knack.be', 'kw.be', 'levif.be'])) { else if (matchDomain(be_roularta_domains)) {
let paywall = document.querySelector('div[id*="wall-modal"]'); let paywall = document.querySelector('div[id*="wall-modal"]');
if (paywall) { if (paywall) {
removeDOMElement(paywall); removeDOMElement(paywall);
let html = document.querySelector('html[class]'); let html = document.querySelector('html[class]');
if (html) if (html)
html.removeAttribute('class'); html.removeAttribute('class');
function knack_noscroll(node) { function roularta_noscroll(node) {
node.removeAttribute('style'); node.removeAttribute('style');
node.removeAttribute('class'); node.removeAttribute('class');
} }
waitDOMAttribute('html', 'html', 'class', knack_noscroll, true); waitDOMAttribute('html', 'html', 'class', roularta_noscroll, true);
let intro = document.querySelectorAll('div.article-body > p, div.article-body > style'); let intro = document.querySelectorAll('div.article-body > p, div.article-body > style');
removeDOMElement(...intro); removeDOMElement(...intro);
let locked = document.querySelector('body.locked');
if (locked)
locked.classList.remove('locked');
} }
} }

@ -51,5 +51,5 @@
"webRequestBlocking", "webRequestBlocking",
"*://*/*" "*://*/*"
], ],
"version": "3.0.5.3" "version": "3.0.5.4"
} }

@ -298,6 +298,11 @@
"domain": "newspicks.com", "domain": "newspicks.com",
"useragent": "googlebot" "useragent": "googlebot"
}, },
"Nnn.de": {
"allow_cookies": 1,
"domain": "nnn.de",
"useragent": "googlebot"
},
"Nu.nl": { "Nu.nl": {
"allow_cookies": 1, "allow_cookies": 1,
"cs_code": "[{\"cond\":\"div.login-wall\",\"rm_elem\":1,\"elems\":[{\"cond\":\"div.authorized-content\",\"rm_class\":\"authorized-content\"}]}]", "cs_code": "[{\"cond\":\"div.login-wall\",\"rm_elem\":1,\"elems\":[{\"cond\":\"div.authorized-content\",\"rm_class\":\"authorized-content\"}]}]",

@ -84,6 +84,7 @@
"*://*.arcinfo.ch/*", "*://*.arcinfo.ch/*",
"*://*.artforum.com/*", "*://*.artforum.com/*",
"*://*.artnet.com/*", "*://*.artnet.com/*",
"*://*.artsenkrant.com/*",
"*://*.atavist.com/*", "*://*.atavist.com/*",
"*://*.atlantico.fr/*", "*://*.atlantico.fr/*",
"*://*.augsburger-allgemeine.de/*", "*://*.augsburger-allgemeine.de/*",
@ -235,11 +236,13 @@
"*://*.farodevigo.es/*", "*://*.farodevigo.es/*",
"*://*.faz.net/*", "*://*.faz.net/*",
"*://*.fd.nl/*", "*://*.fd.nl/*",
"*://*.femmesdaujourdhui.be/*",
"*://*.fieldandstream.com/*", "*://*.fieldandstream.com/*",
"*://*.financialexpress.com/*", "*://*.financialexpress.com/*",
"*://*.financialpost.com/*", "*://*.financialpost.com/*",
"*://*.firstthings.com/*", "*://*.firstthings.com/*",
"*://*.fiskeribladet.no/*", "*://*.fiskeribladet.no/*",
"*://*.flair.be/*",
"*://*.fnlondon.com/*", "*://*.fnlondon.com/*",
"*://*.forbes.com/*", "*://*.forbes.com/*",
"*://*.foreignaffairs.com/*", "*://*.foreignaffairs.com/*",
@ -387,6 +390,7 @@
"*://*.levante-emv.com/*", "*://*.levante-emv.com/*",
"*://*.levif.be/*", "*://*.levif.be/*",
"*://*.lexpress.fr/*", "*://*.lexpress.fr/*",
"*://*.libelle.be/*",
"*://*.liberation-champagne.fr/*", "*://*.liberation-champagne.fr/*",
"*://*.limburger.nl/*", "*://*.limburger.nl/*",
"*://*.lindependant.fr/*", "*://*.lindependant.fr/*",
@ -734,5 +738,5 @@
"*://*.wallkit.net/*", "*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "3.0.5.3" "version": "3.0.5.4"
} }

@ -986,11 +986,6 @@ var defaultSites = {
domain: "italiaoggi.it", domain: "italiaoggi.it",
allow_cookies: 1 allow_cookies: 1
}, },
"Knack.be": {
domain: "knack.be",
allow_cookies: 1,
block_regex: /(\.knack\.be\/js\/responsive\/rmg(Modal|Paywall)\.js|\.blueconic\.net\/)/
},
"Kölner Stadt-Anzeiger": { "Kölner Stadt-Anzeiger": {
domain: "ksta.de", domain: "ksta.de",
allow_cookies: 1 allow_cookies: 1
@ -999,11 +994,6 @@ var defaultSites = {
domain: "rundschau-online.de", domain: "rundschau-online.de",
allow_cookies: 1 allow_cookies: 1
}, },
"Krant van West-Vlaanderen": {
domain: "kw.be",
allow_cookies: 1,
block_regex: /\.blueconic\.net\//
},
"Krautreporter.de": { "Krautreporter.de": {
domain: "krautreporter.de" domain: "krautreporter.de"
}, },
@ -1149,11 +1139,6 @@ var defaultSites = {
allow_cookies: 1, allow_cookies: 1,
block_regex: /\.poool\.fr\// block_regex: /\.poool\.fr\//
}, },
"Le Vif.be": {
domain: "levif.be",
allow_cookies: 1,
block_regex: /(\.levif\.be\/js\/responsive\/rmg(Modal|Paywall)\.js|\.blueconic\.net\/)/
},
"Lee Enterprises Group": { "Lee Enterprises Group": {
domain: "###_usa_lee_ent", domain: "###_usa_lee_ent",
group: [ group: [
@ -1649,6 +1634,20 @@ var defaultSites = {
} }
] ]
}, },
"Roularta Media Group": {
domain: "###_be_roularta",
group: [
"artsenkrant.com",
"femmesdaujourdhui.be",
"flair.be",
"knack.be",
"kw.be",
"levif.be",
"libelle.be"
],
allow_cookies: 1,
block_regex: "(\\.{domain}\\/(script|js\\/responsive\\/rmg(Modal|Paywall))\\.js|\\.blueconic\\.net\\/)"
},
"RugbyPass": { "RugbyPass": {
domain: "rugbypass.com", domain: "rugbypass.com",
allow_cookies: 1, allow_cookies: 1,

Loading…
Cancel
Save