Remove The Athletic trial-banners

This commit is contained in:
magnolia1234 2020-01-07 18:22:51 +01:00 committed by GitHub
parent f356ce5a8f
commit 56c9246269

View File

@ -357,9 +357,11 @@ if (window.location.href.indexOf("sofrep.com") !== -1) {
}
if (window.location.href.indexOf("theathletic.com") !== -1) {
const banner = document.querySelector('.border-bottom-cc');
const landing_banner = document.querySelector('.logged-out-landing-banner');
const sample_banner = document.querySelector('.main-sample-banner');
const bottom_banner = document.querySelector('.border-bottom-cc');
const subscribe = document.querySelector('.subscribe-ad-text');
removeDOMElement(banner, subscribe);
removeDOMElement(landing_banner, sample_banner, bottom_banner, subscribe);
}
// General Functions