From 66d62f4707cbeb52c14654260515a81993032b87 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Mon, 14 Oct 2019 16:09:20 +0200 Subject: [PATCH] Fix for WSJ redirect issue (print edition) Fixes issue #345 --- background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background.js b/background.js index ca06a2f..da89538 100644 --- a/background.js +++ b/background.js @@ -228,7 +228,7 @@ browser.runtime.onInstalled.addListener(function(details) { // WSJ bypass browser.webRequest.onBeforeSendHeaders.addListener(function(details) { - if (!isSiteEnabled(details) || details.url.indexOf("mod=rsswn") !== -1) { + if (!isSiteEnabled(details) || details.url.indexOf("mod=rsswn") !== -1 || details.url.indexOf("/print-edition/") !== -1) { return; }