Fix The Australian (The Oz)

merge-requests/7/head
magnolia1234 2 years ago
parent a6460642b6
commit 0b863c59f8

@ -946,6 +946,7 @@ if (matchUrlDomain(change_headers, details.url) && !['font', 'image', 'styleshee
var googlebotEnabled = matchUrlDomain(use_google_bot, details.url) &&
!(matchUrlDomain('abc.es', details.url) && mobile) &&
!(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('wsj.com', details.url) && enabledSites.includes('#options_disable_gb_wsj'));
var bingbotEnabled = matchUrlDomain(use_bing_bot, details.url) &&

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

4
lib/purify.min.js vendored

File diff suppressed because one or more lines are too long

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

@ -120,7 +120,14 @@ var defaultSites = {
"weeklytimesnow.com.au"
],
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)": {
domain: "###_au_comm_media",

Loading…
Cancel
Save