Merge master (#11)

* remove cookie banner on Financial Times

* resolved conflicts: fix typo
This commit is contained in:
magnolia1234 2019-11-18 08:42:17 +01:00 committed by GitHub
parent 10bc353ab2
commit 23d0e1a4c7

View File

@ -170,6 +170,11 @@ if (window.location.href.indexOf("ledevoir.com") !== -1) {
removeDOMElement(counter);
}
if (window.location.href.includes('ft.com')) {
const cookie_banner = document.querySelector('.n-messaging-banner__outer');
removeDOMElement(cookie_banner);
}
if (window.location.href.indexOf("thehindu.com") !== -1) {
const paywall = document.getElementById('test');
removeDOMElement(paywall);