From f22e8ed224fdd43698c48122e524243c35784bdb Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Thu, 19 Mar 2020 20:05:19 +0100 Subject: [PATCH] Fix DeMorgen.be --- background.js | 1 + contentScript.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 2319eda..d7bfc44 100755 --- a/background.js +++ b/background.js @@ -23,6 +23,7 @@ var allow_cookies = [ 'clarin.com', 'couriermail.com.au', 'dailytelegraph.com.au', +'demorgen.be', 'dn.se', 'dvhn.nl', 'elmercurio.com', diff --git a/contentScript.js b/contentScript.js index 9c39e4c..9b44d89 100755 --- a/contentScript.js +++ b/contentScript.js @@ -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', () => { const paywall = document.querySelector('div[data-temptation-position="ARTICLE_BOTTOM"]'); const hidden_section = document.querySelector('div[data-temptation-position="ARTICLE_INLINE"]');