mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:27:48 +01:00
Fix Limburger.nl & Mediahuis Belgie (mobile)
This commit is contained in:
parent
1a8922e261
commit
79b4f4d2f7
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue