mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-05-01 10:24:26 +02:00
Remove hbr.org bottom banner
This commit is contained in:
parent
a7d4c3a008
commit
41f2bc0f74
@ -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"]
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user