Fix The Australian (The Oz)

This commit is contained in:
magnolia1234 2022-05-14 09:35:57 +02:00
parent bc6641134e
commit 2b62e69bf2
6 changed files with 14 additions and 5 deletions

View File

@ -946,6 +946,7 @@ if (matchUrlDomain(change_headers, details.url) && !['font', 'image', 'styleshee
var googlebotEnabled = matchUrlDomain(use_google_bot, details.url) && var googlebotEnabled = matchUrlDomain(use_google_bot, details.url) &&
!(matchUrlDomain('abc.es', details.url) && mobile) && !(matchUrlDomain('abc.es', details.url) && mobile) &&
!(matchUrlDomain('barrons.com', details.url) && enabledSites.includes('#options_disable_gb_barrons')) && !(matchUrlDomain('barrons.com', details.url) && enabledSites.includes('#options_disable_gb_barrons')) &&
!(matchUrlDomain('theaustralian.com.au', details.url) && !details.url.startsWith('https://www.theaustralian.com.au/the-oz/')) &&
!(matchUrlDomain('thetimes.co.uk', details.url) && !(details.url.match(/\/epaper\.thetimes\.co\.uk\/article\//) || mobile)) && !(matchUrlDomain('thetimes.co.uk', details.url) && !(details.url.match(/\/epaper\.thetimes\.co\.uk\/article\//) || mobile)) &&
!(matchUrlDomain('wsj.com', details.url) && enabledSites.includes('#options_disable_gb_wsj')); !(matchUrlDomain('wsj.com', details.url) && enabledSites.includes('#options_disable_gb_wsj'));
var bingbotEnabled = matchUrlDomain(use_bing_bot, details.url) && var bingbotEnabled = matchUrlDomain(use_bing_bot, details.url) &&

View File

@ -6,6 +6,7 @@ Add UnHerd (UK)
Remove The Japan Times (fix obsolete) Remove The Japan Times (fix obsolete)
Fix Lequipe.fr (json) Fix Lequipe.fr (json)
Fix Telegraaf.nl Fix Telegraaf.nl
Fix The Australian (The Oz)
Fix The Dallas Morning News Fix The Dallas Morning News
* v2.6.8.0 (2022-05-08) * v2.6.8.0 (2022-05-08)

View File

@ -42,5 +42,5 @@
"webRequestBlocking", "webRequestBlocking",
"<all_urls>" "<all_urls>"
], ],
"version": "2.6.8.3" "version": "2.6.8.4"
} }

4
lib/purify.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -659,5 +659,5 @@
"*://*.wsj.net/*", "*://*.wsj.net/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "2.6.8.3" "version": "2.6.8.4"
} }

View File

@ -120,7 +120,14 @@ var defaultSites = {
"weeklytimesnow.com.au" "weeklytimesnow.com.au"
], ],
allow_cookies: 1, allow_cookies: 1,
block_regex: /(\.com\.au\/remote\/identity\/rampart\/latest\/rampart\.js|cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js)/ block_regex: /(\.com\.au\/remote\/identity\/rampart\/latest\/rampart\.js|cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js)/,
exception: [{
domain: "theaustralian.com.au",
allow_cookies: 1,
block_regex: /(\.com\.au\/remote\/identity\/rampart\/latest\/rampart\.js|cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js)/,
useragent: "googlebot"
}
]
}, },
"Australian Community Media (daily)": { "Australian Community Media (daily)": {
domain: "###_au_comm_media", domain: "###_au_comm_media",