Merge pull request #385 from egillh210/ft-cookie-banner

remove cookie banner on Financial Times
This commit is contained in:
ghost 2019-11-17 13:16:27 -08:00 committed by GitHub
commit de2b4023db

View File

@ -180,6 +180,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');