Fix Hbr.org banner
parent
fb94c87c8b
commit
4c647ff484
|
@ -281,8 +281,7 @@ if (window.location.href.indexOf("technologyreview.com") !== -1) {
|
|||
if (read_story)
|
||||
read_story.click();
|
||||
const meter = document.querySelector('.meter');
|
||||
if (meter)
|
||||
removeDOMElement(meter);
|
||||
removeDOMElement(meter);
|
||||
}
|
||||
|
||||
if (window.location.href.indexOf("haaretz.com") !== -1) {
|
||||
|
@ -295,6 +294,11 @@ if (window.location.href.indexOf("asia.nikkei.com") !== -1) {
|
|||
removeDOMElement(popup);
|
||||
}
|
||||
|
||||
if (window.location.href.indexOf("hbr.org") !== -1) {
|
||||
const popup = document.querySelector('.persistent-banner');
|
||||
removeDOMElement(popup);
|
||||
}
|
||||
|
||||
// General Functions
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
|
Loading…
Reference in New Issue