Fix DeMorgen.be

This commit is contained in:
magnolia1234 2020-03-19 20:12:04 +01:00 committed by GitHub
parent 0aa31b3c34
commit 9b4edc64fc
2 changed files with 2 additions and 1 deletions

View file

@ -23,6 +23,7 @@ var allow_cookies = [
'clarin.com', 'clarin.com',
'couriermail.com.au', 'couriermail.com.au',
'dailytelegraph.com.au', 'dailytelegraph.com.au',
'demorgen.be',
'dn.se', 'dn.se',
'dvhn.nl', 'dvhn.nl',
'elmercurio.com', 'elmercurio.com',

View file

@ -108,7 +108,7 @@ if (window.location.href.indexOf("nzherald.co.nz") !== -1) {
} }
} }
if (window.location.href.indexOf("parool.nl") !== -1 || window.location.href.indexOf("trouw.nl") !== -1 || window.location.href.indexOf("volkskrant.nl") !== -1 || window.location.href.indexOf("humo.be") !== -1) { if (window.location.href.indexOf("parool.nl") !== -1 || window.location.href.indexOf("trouw.nl") !== -1 || window.location.href.indexOf("volkskrant.nl") !== -1 || window.location.href.indexOf("humo.be") !== -1 || window.location.href.indexOf("demorgen.be") !== -1) {
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
const paywall = document.querySelector('div[data-temptation-position="ARTICLE_BOTTOM"]'); const paywall = document.querySelector('div[data-temptation-position="ARTICLE_BOTTOM"]');
const hidden_section = document.querySelector('div[data-temptation-position="ARTICLE_INLINE"]'); const hidden_section = document.querySelector('div[data-temptation-position="ARTICLE_INLINE"]');