diff --git a/background.js b/background.js index 05c6f25..effbf51 100644 --- a/background.js +++ b/background.js @@ -992,7 +992,7 @@ if (matchUrlDomain(change_headers, details.url) && !ignore_types.includes(detail !(matchUrlDomain(['economictimes.com', 'economictimes.indiatimes.com'], details.url) && !details.url.split(/\?|#/)[0].endsWith('.cms')) && !(matchUrlDomain(au_news_corp_domains, details.url) && (details.url.includes('?amp') || (!matchUrlDomain(au_news_corp_no_amp_fix, details.url) && enabledSites.includes('#options_disable_gb_au_news_corp')))) && !(matchUrlDomain('uol.com.br', details.url) && !matchUrlDomain('folha.uol.com.br', details.url)) && - !(matchUrlDomain('wsj.com', details.url) && (enabledSites.includes('#options_disable_gb_wsj') || (!details.url.includes('/articles/') && details.type === 'main_frame' && mobile))); + !(matchUrlDomain('wsj.com', details.url) && !details.url.includes('/articles/') && details.type === 'main_frame' && mobile); var bingbotEnabled = matchUrlDomain(use_bing_bot, details.url); var facebookbotEnabled = matchUrlDomain(use_facebook_bot, details.url); diff --git a/changelog.txt b/changelog.txt index baa2f2e..5d0bef3 100644 --- a/changelog.txt +++ b/changelog.txt @@ -7,6 +7,7 @@ Add Delinian Group Remove Initium Media (fix obsolete) Fix Ksta.de & Rundschau-online.de (json) Fix The Press-Enterprise (new domain) +Fix WSJ (remove option to disable Googlebot) * v3.2.9.0 (2023-08-13) Add 4 more Lee Enterprises Group sites diff --git a/custom/manifest.json b/custom/manifest.json index cab3cad..0d6c877 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.2.9.3" + "version": "3.2.9.4" } diff --git a/manifest.json b/manifest.json index 2f4aab3..fbd9f4c 100644 --- a/manifest.json +++ b/manifest.json @@ -789,5 +789,5 @@ "*://*.wyleex.com/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.2.9.3" + "version": "3.2.9.4" } diff --git a/sites.js b/sites.js index 21c22e1..d2b9110 100644 --- a/sites.js +++ b/sites.js @@ -2299,7 +2299,7 @@ var defaultSites = { allow_cookies: 1, cs_dompurify: 1 }, - "The Wall Street Journal (when blocked disable Googlebot in BPC-settings)": { + "The Wall Street Journal": { domain: "wsj.com", allow_cookies: 1, block_regex: /(cdn\.cxense\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js)/, @@ -2607,9 +2607,6 @@ var defaultSites = { "Barron's - no Googlebot (http error 500)": { domain: "#options_disable_gb_barrons" }, - "The Wall Street Journal - no Googlebot (http error 500)": { - domain: "#options_disable_gb_wsj" - }, } if (typeof browser !== 'object') {