From 469bbbc9f79e952315a3783fe6d1c9e2c7f4f129 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sun, 8 Dec 2019 18:46:06 +0100 Subject: [PATCH] Fix Foreign Policy Block paywall-script which can also be blocked by uBlock Origin. --- background.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 030e2a7c..67276c26 100644 --- a/background.js +++ b/background.js @@ -230,7 +230,8 @@ const blockedRegexes = { 'nzherald.co.nz': /nzherald\.co\.nz\/.+\/headjs\/.+\.js/, 'economist.com': /.+\.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)"