Fix Australia News Corp (amp-fix)

This commit is contained in:
magnolia1234 2023-07-10 19:02:43 +02:00
parent 1b7a09eb23
commit 1e8be2553d
4 changed files with 4 additions and 3 deletions

View file

@ -697,7 +697,7 @@ ext_api.webRequest.onBeforeRequest.addListener(function (details) {
);
// Australia News Corp redirect subscribe to amp
var au_news_corp_no_amp_fix = ['adelaidenow.com.au', 'codesports.com.au', 'goldcoastbulletin.com.au', 'ntnews.com.au', 'thechronicle.com.au', 'themercury.com.au', 'weeklytimesnow.com.au'];
var au_news_corp_no_amp_fix = ['codesports.com.au'];
var au_news_corp_subscr = au_news_corp_domains.filter(domain => !au_news_corp_no_amp_fix.includes(domain)).map(domain => '*://www.' + domain + '/subscribe/*');
ext_api.webRequest.onBeforeRequest.addListener(function (details) {
if (!isSiteEnabled(details) || details.url.includes('/digitalprinteditions') || !(details.url.includes('dest=') && details.url.split('dest=')[1].split('&')[0])) {

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Fix Australia News Corp (amp-fix)
* v3.2.4.0 (2023-07-09)
Add Delish, Elle Decor, Harper's Bazaar & Oprah Daily (Hearst)

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.2.4.0"
"version": "3.2.4.1"
}

View file

@ -758,5 +758,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.2.4.0"
"version": "3.2.4.1"
}