Fix WSJ (remove option to disable Googlebot)

This commit is contained in:
magnolia1234 2023-08-18 08:44:44 +02:00
parent d872509eb1
commit f8f28cb24b
5 changed files with 5 additions and 7 deletions

View file

@ -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);

View file

@ -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

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.2.9.3"
"version": "3.2.9.4"
}

View file

@ -789,5 +789,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.2.9.3"
"version": "3.2.9.4"
}

View file

@ -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') {