From 92a7de43e5acde72457330cef691b1b2e37f2095 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Tue, 25 Feb 2020 23:33:18 +0100 Subject: [PATCH] Add Humo.be --- README.md | 1 + background.js | 1 + contentScript.js | 2 +- sites.js | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dcf4f4d..ca0584f 100644 --- a/README.md +++ b/README.md @@ -170,6 +170,7 @@ [De Tijd](https://www.tijd.be) - [Groene Amsterdammer](https://www.groene.nl) - [Het Financieel Dagblad](https://fd.nl) - +[Humo.be]{https://www.humo.be} - [Leeuwarder Courant](https://www.lc.nl) - [NRC Handelsblad](https://www.nrc.nl) - [Parool](https://www.parool.nl) - diff --git a/background.js b/background.js index 1e44113..f3072b9 100644 --- a/background.js +++ b/background.js @@ -32,6 +32,7 @@ var allow_cookies = [ 'haaretz.com', 'handelsblatt.com', 'heraldsun.com.au', +'humo.be', 'kleinezeitung.at', 'lemonde.fr', 'lc.nl', diff --git a/contentScript.js b/contentScript.js index ab92f34..4178089 100644 --- 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) { +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) { document.addEventListener('DOMContentLoaded', () => { const paywall = document.querySelector('div[data-temptation-position="ARTICLE_BOTTOM"]'); const hidden_section = document.querySelector('div[data-temptation-position="ARTICLE_INLINE"]'); diff --git a/sites.js b/sites.js index ba6b669..615ef99 100644 --- a/sites.js +++ b/sites.js @@ -51,6 +51,7 @@ var defaultSites = "Harvard Business Review Taiwan": "hbrtaiwan.com", "Herald Sun": "heraldsun.com.au", "Het Financieel Dagblad": "fd.nl", + "Humo.be": "humo.be", "Inc.com": "inc.com", "Illawarra Mercury": "illawarramercury.com.au", "Kleine Zeitung": "kleinezeitung.at",