Fix Australian Community Media (overlay+)

This commit is contained in:
magnolia1234 2022-08-31 08:39:59 +02:00
parent 4fea5c7150
commit 7fc2bf67aa
4 changed files with 7 additions and 7 deletions

View File

@ -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);

View File

@ -43,5 +43,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.8.2.2"
"version": "2.8.2.3"
}

View File

@ -687,5 +687,5 @@
"*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.8.2.2"
"version": "2.8.2.3"
}

View File

@ -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
}
]