mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-09-20 06:03:40 +02:00
Fix NYTimes (layout)
Block specific Javascript instead of Googlebot user-agent.
This commit is contained in:
parent
3391915745
commit
f0a0ad1ec4
1 changed files with 2 additions and 2 deletions
|
@ -231,7 +231,6 @@ const use_google_bot = [
|
|||
'haaretz.com',
|
||||
'lemonde.fr',
|
||||
'nknews.org',
|
||||
'nytimes.com',
|
||||
'prime.economictimes.indiatimes.com',
|
||||
'quora.com',
|
||||
'telegraph.co.uk',
|
||||
|
@ -267,7 +266,8 @@ const blockedRegexes = {
|
|||
'afr.com': /afr\.com\/assets\/vendorsReactRedux_client.+\.js/,
|
||||
'theglobeandmail.com': /theglobeandmail\.com\/pb\/resources\/scripts\/build\/chunk-bootstraps\/.+\.js/,
|
||||
'leparisien.fr': /.+\.tinypass\.com\/.+/,
|
||||
'lesechos.fr': /.+\.tinypass\.com\/.+/
|
||||
'lesechos.fr': /.+\.tinypass\.com\/.+/,
|
||||
'nytimes.com': /(.+meter-svc\.nytimes\.com\/meter\.js.+|.+mwcm\.nyt\.com\/.+\.js)/
|
||||
};
|
||||
|
||||
const userAgentDesktop = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
|
||||
|
|
Loading…
Reference in a new issue