From 1aed0da95f94bc0088da8a3acb9dcc7fd3df32ec Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Thu, 19 Aug 2021 17:00:37 +0200 Subject: [PATCH] Fix The Australian --- background.js | 5 ++++- changelog.txt | 1 + contentScript.js | 2 +- custom/manifest.json | 2 +- manifest.json | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/background.js b/background.js index de7fc26..c3f661b 100755 --- a/background.js +++ b/background.js @@ -488,7 +488,10 @@ function add_grouped_sites(init_rules) { } for (let domain of au_news_corp_domains) { allow_cookies.push(domain); - use_google_bot.push(domain); + if (domain !== 'theaustralian.com.au') + use_google_bot.push(domain); + else + use_bing_bot.push(domain); blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-(access|ad|iframe)-.+\.js/; } for (let domain of au_prov_news_domains) { diff --git a/changelog.txt b/changelog.txt index 51ee088..53db278 100644 --- a/changelog.txt +++ b/changelog.txt @@ -5,6 +5,7 @@ Post-release Add Ad Age & Automotive News (& fix group Crain Communications) Add MediaNews Group (local USA) Fix group Mediahuis Nederland Regional +Fix The Australian Fix The Daily Beast (proper/images) * v2.3.3.0 (2021-08-15) diff --git a/contentScript.js b/contentScript.js index 3f888de..ce0cc25 100755 --- a/contentScript.js +++ b/contentScript.js @@ -24,7 +24,7 @@ var usa_mng_domains = ['denverpost.com', 'eastbaytimes.com', 'mercurynews.com' var usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.com']; // clean local storage of sites (with an exemption for hold-list) -var arr_localstorage_hold = ['augsburger-allgemeine.de', 'charliehebdo.fr', 'cmjornal.pt', 'houstonchronicle.com', 'inc42.com', 'irishtimes.com', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk'].concat(es_unidad_domains, no_nhst_media_domains); +var arr_localstorage_hold = ['augsburger-allgemeine.de', 'charliehebdo.fr', 'cmjornal.pt', 'houstonchronicle.com', 'inc42.com', 'irishtimes.com', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'theaustralian.com.au', 'thehindu.com', 'thetimes.co.uk'].concat(es_unidad_domains, no_nhst_media_domains); arr_localstorage_hold = arr_localstorage_hold.concat(de_funke_media_domains, es_grupo_vocento_domains); if (!matchDomain(arr_localstorage_hold)) { window.localStorage.clear(); diff --git a/custom/manifest.json b/custom/manifest.json index 8daaf52..144c045 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -38,5 +38,5 @@ "webRequestBlocking", "" ], - "version": "2.3.3.5" + "version": "2.3.3.6" } \ No newline at end of file diff --git a/manifest.json b/manifest.json index 7cd2a39..4268a27 100755 --- a/manifest.json +++ b/manifest.json @@ -541,5 +541,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.3.3.5" + "version": "2.3.3.6" } \ No newline at end of file