Fix WSJ (Googlebot for cn/jp subdomain)

This commit is contained in:
magnolia1234 2023-10-30 08:10:35 +01:00
parent 3edb36c0ac
commit 5734eaec5b
3 changed files with 4 additions and 2 deletions

View file

@ -1018,7 +1018,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') || !mobile || (!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) && !details.url.match(/((\w)+[%\-]+){3,}/) && details.type === 'main_frame' && mobile);
!(matchUrlDomain('www.wsj.com', details.url));
var bingbotEnabled = matchUrlDomain(use_bing_bot, details.url);
var facebookbotEnabled = matchUrlDomain(use_facebook_bot, details.url);

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 WSJ (Googlebot for cn/jp subdomain)
Update custom sites (link to 1ft.io)
* v3.4.0.0 (2023-10-29)

View file

@ -2407,7 +2407,8 @@ var defaultSites = {
domain: "wsj.com",
allow_cookies: 1,
block_regex: /(cdn\.cxense\.com\/|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/,
referer: "drudgereport"
referer: "drudgereport",
useragent: "googlebot"
},
"The Washington Post": {
domain: "washingtonpost.com",