mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-13 02:14:15 +01:00
Fix-update DeMorgen.be (overlay)
This commit is contained in:
parent
1ebd48b7c4
commit
8f6a57310a
1 changed files with 5 additions and 3 deletions
|
@ -173,9 +173,11 @@ else if (matchDomain("nzherald.co.nz")) {
|
||||||
|
|
||||||
else if (matchDomain(["parool.nl", "trouw.nl", "volkskrant.nl", "humo.be", "demorgen.be"])) {
|
else if (matchDomain(["parool.nl", "trouw.nl", "volkskrant.nl", "humo.be", "demorgen.be"])) {
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const paywall = document.querySelector('div[data-temptation-position="ARTICLE_BOTTOM"]');
|
let top_banner = document.querySelector('div[data-temptation-position="PAGE_TOP"]');
|
||||||
const hidden_section = document.querySelector('div[data-temptation-position="ARTICLE_INLINE"]');
|
let paywall = document.querySelector('div[data-temptation-position="ARTICLE_BOTTOM"]');
|
||||||
removeDOMElement(paywall, hidden_section);
|
let hidden_section = document.querySelector('div[data-temptation-position="ARTICLE_INLINE"]');
|
||||||
|
let overlay = document.querySelector('div[data-temptation-position="PAGE_BOTTOM"]');
|
||||||
|
removeDOMElement(top_banner, paywall, hidden_section, overlay);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue