Fix-update DeMorgen.be (overlay)

This commit is contained in:
magnolia1234 2020-05-28 18:18:54 +02:00
parent 1ebd48b7c4
commit 8f6a57310a

View file

@ -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);
}); });
} }