Fix Foreign Policy

Block paywall-script which can also be blocked by uBlock Origin.
This commit is contained in:
magnolia1234 2019-12-08 18:46:06 +01:00 committed by GitHub
parent de33b534b0
commit 469bbbc9f7

View File

@ -230,7 +230,8 @@ const blockedRegexes = {
'nzherald.co.nz': /nzherald\.co\.nz\/.+\/headjs\/.+\.js/, 'nzherald.co.nz': /nzherald\.co\.nz\/.+\/headjs\/.+\.js/,
'economist.com': /.+\.tinypass\.com\/.+/, 'economist.com': /.+\.tinypass\.com\/.+/,
'lrb.co.uk': /.+\.tinypass\.com\/.+/, 'lrb.co.uk': /.+\.tinypass\.com\/.+/,
'bostonglobe.com': /meter\.bostonglobe\.com\/js\/.+/ 'bostonglobe.com': /meter\.bostonglobe\.com\/js\/.+/,
'foreignpolicy.com': /.+\.tinypass\.com\/.+/
}; };
const userAgentDesktop = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" const userAgentDesktop = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"