Fix Australian Community Media (overlay)
This commit is contained in:
parent
2864ff93c7
commit
11dff7eaeb
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Remove Dark Reading (no paywall)
|
||||
Fix Australian Community Media (overlay)
|
||||
Fix The Toronto Star
|
||||
|
||||
* v2.8.2.0 (2022-08-28)
|
||||
|
@ -292,12 +292,13 @@ 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 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, ...ads);
|
||||
removeDOMElement(story_generic_iframe, blocker, ...overlays, ...ads);
|
||||
} else if (window.location.hostname.endsWith('.com.au')) {
|
||||
// Australia News Corp
|
||||
let au_news_corp_domains = ['adelaidenow.com.au', 'cairnspost.com.au', 'codesports.com.au', 'couriermail.com.au', 'dailytelegraph.com.au', 'geelongadvertiser.com.au', 'goldcoastbulletin.com.au', 'heraldsun.com.au', 'ntnews.com.au', 'theaustralian.com.au', 'thechronicle.com.au', 'themercury.com.au', 'townsvillebulletin.com.au', 'weeklytimesnow.com.au'];
|
||||
|
@ -1,4 +1,30 @@
|
||||
{
|
||||
"Australian Community Media (daily)": {
|
||||
"domain": "###_au_comm_media",
|
||||
"group": [
|
||||
"bendigoadvertiser.com.au",
|
||||
"bordermail.com.au",
|
||||
"canberratimes.com.au",
|
||||
"centralwesterndaily.com.au",
|
||||
"dailyadvertiser.com.au",
|
||||
"dailyliberal.com.au",
|
||||
"examiner.com.au",
|
||||
"illawarramercury.com.au",
|
||||
"newcastleherald.com.au",
|
||||
"northerndailyleader.com.au",
|
||||
"standard.net.au",
|
||||
"theadvocate.com.au",
|
||||
"thecourier.com.au",
|
||||
"westernadvocate.com.au"
|
||||
],
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(cdn-au\\.piano\\.io\\/api\\/tinypass.+\\.js|cdn\\.cxense\\.com\\/)",
|
||||
"cs_code": [{
|
||||
"cond": "div.transition-all",
|
||||
"rm_elem": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"Business Standard": {
|
||||
"domain": "business-standard.com",
|
||||
"allow_cookies": 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user