mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 05:57:48 +01:00
Fix Roularta Media Group (modal)
This commit is contained in:
parent
0c62ab161b
commit
09d67dc270
2 changed files with 25 additions and 24 deletions
|
@ -6,6 +6,7 @@ Post-release
|
|||
Add Cambio Colombia
|
||||
Add The News Minute (India)
|
||||
Fix LaStampa.it (video articles)
|
||||
Fix Roularta Media Group (modal)
|
||||
Fix South China Morning Post (mobile & amp)
|
||||
Fix WSJ (disable amp-redirect for www)
|
||||
|
||||
|
|
|
@ -2291,6 +2291,7 @@ else if (matchDomain(be_roularta_domains)) {
|
|||
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) {
|
||||
|
@ -2310,7 +2311,7 @@ else if (matchDomain(be_roularta_domains)) {
|
|||
locked.classList.remove('locked');
|
||||
}
|
||||
if (!window.navigator.userAgent.toLowerCase().includes('chrome') && !matchDomain(['artsenkrant.com', 'kw.be']) && window.location.href.match(/\/((\w)+(\-)+){3,}/)) {
|
||||
let lazy_images = document.querySelectorAll('[src^="data:image/"][data-lazy-src]');
|
||||
let lazy_images = document.querySelectorAll('img[src^="data:image/"][data-lazy-src]');
|
||||
for (let elem of lazy_images) {
|
||||
elem.src = elem.getAttribute('data-lazy-src');
|
||||
}
|
||||
|
@ -2319,7 +2320,6 @@ else if (matchDomain(be_roularta_domains)) {
|
|||
let ads = document.querySelectorAll('div.rmgAd');
|
||||
hideDOMElement(...ads);
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain(['lc.nl', 'dvhn.nl']) || document.querySelector('link[href*=".ndcmediagroep.nl/"]')) {
|
||||
if (true) {
|
||||
|
|
Loading…
Reference in a new issue