Fix Australian Community Media (images)

This commit is contained in:
magnolia1234 2022-02-09 12:56:03 +01:00
parent 4e1cda32fa
commit 78602c7dfd
4 changed files with 21 additions and 19 deletions

View File

@ -576,7 +576,7 @@ ext_api.webRequest.onBeforeRequest.addListener(function (details) {
return;
}
var updatedUrl = decodeURIComponent(details.url.split('dest=')[1].split('&')[0]);
if (matchUrlDomain('thechronicle.com.au', details.url))
if (!matchUrlDomain('theaustralian.com.au', details.url))
updatedUrl += '?amp';
else
updatedUrl = updatedUrl.replace('www.', 'amp.');

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Groupe Sud Ouest (France)
Fix Australian Community Media (images)
Fix New York Magazine sites (cookies)
Fix TheTimes.co.uk (epaper & archive)
Update block general paywall script (limit NewsMemory)

View File

@ -148,7 +148,7 @@ var defaultSites = {
"westernadvocate.com.au"
],
allow_cookies: 1,
block_regex: /(cdn-au\.piano\.io\/api\/tinypass.+\.js|\.com\.au\/static\/.+\/js\/vendor\.js)/
block_regex: /cdn-au\.piano\.io\/api\/tinypass.+\.js/
},
"Barron's": {
domain: "barrons.com",

View File

@ -1,24 +1,25 @@
{
"Australia News Corp": {
"domain": "###_au_news_corp",
"Australian Community Media (daily)": {
"domain": "###_au_comm_media",
"group": [
"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"
"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",
"portnews.com.au",
"standard.net.au",
"theadvocate.com.au",
"thecourier.com.au",
"westernadvocate.com.au"
],
"allow_cookies": 1,
"block_regex": "(\\.com\\.au\\/remote\\/identity\\/rampart\\/latest\\/rampart\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|(sticky-)?ad)-.+\\.js)"
"block_regex": "cdn-au\\.piano\\.io\\/api\\/tinypass.+\\.js"
},
"La Tercera": {
"domain": "latercera.com",