From 34f7794cc513672b9713124b72ca0e3e8e58fa2c Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Fri, 13 Dec 2019 14:14:55 +0100 Subject: [PATCH] Fix Spectator.co.uk (without uBlock Origin) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Block paywall-script. uBlock Origin (Fanboy’s Enhanced Tracking List) can also block this: ||tinypass.com^$3p --- background.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 12e6631..a269cf9 100644 --- a/background.js +++ b/background.js @@ -237,7 +237,8 @@ const blockedRegexes = { 'lrb.co.uk': /.+\.tinypass\.com\/.+/, 'bostonglobe.com': /meter\.bostonglobe\.com\/js\/.+/, 'foreignpolicy.com': /.+\.tinypass\.com\/.+/, -'inquirer.com': /.+\.tinypass\.com\/.+/ +'inquirer.com': /.+\.tinypass\.com\/.+/, +'spectator.co.uk': /.+\.tinypass\.com\/.+/ }; const userAgentDesktop = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"