|
|
|
@ -1024,6 +1024,7 @@ if (matchUrlDomain(au_news_corp_domains, details.url))
|
|
|
|
|
if (matchUrlDomain(change_headers, details.url) && !ignore_types.includes(details.type)) {
|
|
|
|
|
var mobile = details.requestHeaders.filter(x => x.name.toLowerCase() === "user-agent" && x.value.toLowerCase().includes("mobile")).length;
|
|
|
|
|
var googlebotEnabled = matchUrlDomain(use_google_bot, details.url) &&
|
|
|
|
|
!(matchUrlDomain('abc.es', details.url) && mobile) &&
|
|
|
|
|
!(matchUrlDomain('barrons.com', details.url) && enabledSites.includes('#options_disable_gb_barrons')) &&
|
|
|
|
|
!(matchUrlDomain(['economictimes.com', 'economictimes.indiatimes.com'], details.url) && !details.url.split(/\?|#/)[0].endsWith('.cms')) &&
|
|
|
|
|
!(matchUrlDomain('theaustralian.com.au', details.url) && !details.url.startsWith('https://www.theaustralian.com.au/the-oz/')) &&
|
|
|
|
|