Fix Australian Community Media (overlay+)
This commit is contained in:
parent
4fea5c7150
commit
7fc2bf67aa
@ -292,10 +292,10 @@ else {
|
||||
subscriber_hider.classList.remove('subscriber-hider');
|
||||
}
|
||||
let blocker = document.querySelector('div.blocker');
|
||||
let overlays = document.querySelectorAll('div.transition-all');
|
||||
let noscroll = document.querySelector('body[style]');
|
||||
if (noscroll)
|
||||
noscroll.removeAttribute('style');
|
||||
let overlays = document.querySelectorAll('div.transition-all, div[id^="headlessui-dialog"]');
|
||||
let noscroll = document.querySelectorAll('html[style], body[style]');
|
||||
for (let elem of noscroll)
|
||||
elem.removeAttribute('style');
|
||||
let story_generic_iframe = document.querySelector('.story-generic__iframe');
|
||||
let ads = document.querySelectorAll('.ad-placeholder, .sticky, [id*="-container"], #hindsight-ads-iframe');
|
||||
removeDOMElement(story_generic_iframe, blocker, ...overlays, ...ads);
|
||||
|
@ -43,5 +43,5 @@
|
||||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.8.2.2"
|
||||
"version": "2.8.2.3"
|
||||
}
|
||||
|
@ -687,5 +687,5 @@
|
||||
"*://gcm.omerlocdn.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.8.2.2"
|
||||
"version": "2.8.2.3"
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(cdn-au\\.piano\\.io\\/api\\/tinypass.+\\.js|cdn\\.cxense\\.com\\/)",
|
||||
"cs_code": [{
|
||||
"cond": "div.transition-all",
|
||||
"cond": "div.transition-all, div[id^=\"headlessui-dialog\"]",
|
||||
"rm_elem": 1
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user