Fix Limburger.nl & Mediahuis Belgie (mobile)

This commit is contained in:
magnolia1234 2022-08-09 21:22:35 +02:00
parent 1a8922e261
commit 79b4f4d2f7
2 changed files with 5 additions and 0 deletions

View file

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Aachener Nachrichten &Zeitung
Remove World Politics Review (fix obsolete)
Fix Limburger.nl & Mediahuis Belgie (mobile)
* v2.7.9.0 (2022-08-07)
Add Limburger.nl

View file

@ -1989,6 +1989,8 @@ else if (matchDomain('ftm.nl')) {
else if (matchDomain(['gva.be', 'hbvl.be', 'nieuwsblad.be', 'standaard.be'])) {
let url = window.location.href;
if (window.location.hostname.startsWith('m.'))
url = url.replace('m.', 'www.');
let article_selector = 'div[data-mht-block="article-detail__article-main"]';
if (matchDomain('standaard.be'))
article_selector = 'article';
@ -2032,6 +2034,8 @@ else if (matchDomain(['lc.nl', 'dvhn.nl'])) {
else if (matchDomain('limburger.nl')) {
let url = window.location.href;
if (window.location.hostname.startsWith('m.'))
url = url.replace('m.', 'www.');
let paywall = document.querySelector('div[data-cj-root="subscription-wall"]');
if (paywall) {
removeDOMElement(paywall);