Add Humo.be

master
magnolia1234 2020-02-25 23:18:39 +01:00 committed by GitHub
parent 52733877d5
commit 156e127e9f
4 changed files with 7 additions and 4 deletions

View File

@ -5,7 +5,7 @@
* [Sites with limited number of free articles](#sites-with-limited-number-of-free-articles)
* [New site requests](#new-site-requests)
* [Troubleshooting](#troubleshooting)
* [Changelog](#changelog)
* [Changelog-releases](#changelog-releases)
* [Pull Requests](#pull-requests)
* [Show your support](#show-your-support)
* [License](#license)
@ -196,6 +196,7 @@ Visit the [Firefox repository](https://github.com/magnolia1234/bypass-paywalls-f
[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) -
@ -276,7 +277,7 @@ You can submit a request for a new website [here](https://github.com/magnolia123
* Make sure you're running the last version of Bypass Paywalls Clean.
* If none of these work, you can submit an issue [here](https://github.com/magnolia1234/bypass-paywalls-chrome-clean/issues).
### Changelog
### Changelog-releases
* Visit the [releases page](https://github.com/magnolia1234/bypass-paywalls-chrome-clean/releases).
### Pull Requests

View File

@ -33,6 +33,7 @@ var allow_cookies = [
'haaretz.com',
'handelsblatt.com',
'heraldsun.com.au',
'humo.be',
'kleinezeitung.at',
'lemonde.fr',
'lc.nl',
@ -177,7 +178,7 @@ function setDefaultOptions() {
chrome.tabs.create({ 'url': 'chrome://extensions/?options=' + chrome.runtime.id });
});
}
// Get the enabled sites (from local storage) & add to allow/remove_cookies (if not already in one of these arrays)
chrome.storage.sync.get({
sites: {}

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) {
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"]');

View File

@ -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",