Fix for WSJ redirect issue (print edition)

Fixes issue #345
This commit is contained in:
magnolia1234 2019-10-14 16:09:20 +02:00 committed by GitHub
parent 6207ff6fb7
commit 66d62f4707

View file

@ -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;
}