Remove hbr.org bottom banner

This commit is contained in:
Adam 2020-05-03 11:11:05 -07:00
parent a7d4c3a008
commit 41f2bc0f74
2 changed files with 5 additions and 1 deletions

View File

@ -51,7 +51,8 @@
"*://*.trouw.nl/*", "*://*.trouw.nl/*",
"*://*.volkskrant.nl/*", "*://*.volkskrant.nl/*",
"*://*.washingtonpost.com/*", "*://*.washingtonpost.com/*",
"*://*.wsj.com/*" "*://*.wsj.com/*",
"*://*.hbr.org/*"
], ],
"js": ["src/js/contentScript.js"] "js": ["src/js/contentScript.js"]
} }

View File

@ -312,6 +312,9 @@ if (matchDomain('rep.repubblica.it')) {
removeDOMElement(container); removeDOMElement(container);
embed.classList.remove('d-none'); embed.classList.remove('d-none');
} }
} else if (matchDomain('hbr.org')) {
const banner = document.querySelector('.persistent-banner');
removeDOMElement(banner);
} }
function matchDomain (domains) { function matchDomain (domains) {