From cf2168f686f71d828e1ae4406f76b8ee29c91828 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Thu, 19 Aug 2021 17:00:58 +0200 Subject: [PATCH] Fix The Australian --- background.js | 5 ++++- changelog.txt | 1 + contentScript.js | 2 +- manifest.json | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/background.js b/background.js index de7fc26..c3f661b 100644 --- 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 a0c3b60..0080cd1 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 100644 --- 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/manifest.json b/manifest.json index b0d394a..7902c97 100644 --- a/manifest.json +++ b/manifest.json @@ -553,5 +553,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.3.3.5" + "version": "2.3.3.6" } \ No newline at end of file