From 4b8bcc852f74c51e7e40c64ad021b0453fed3cfd Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 10 Feb 2019 15:14:18 -0800 Subject: [PATCH] Minor WSJ bypass optimization, update README --- README.md | 5 +---- background.js | 2 +- manifest.json | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a352668..f22848d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ # Bypass Paywalls for Chrome -### 2019-02-06: WSJ bypass fixed! - -### 2019-02-02: The Wall Street Journal (wsj.com) bypass is currently not working. WSJ seems to have changed their algorithm. - ### Installation Instructions **Google Chrome**: 1. Download this repo as a ZIP from github. @@ -75,6 +71,7 @@ Wired (wired.com) 3. Click on the same article from the Google search results page. If it loads without a paywall you can [submit a request](https://github.com/iamadamdev/bypass-paywalls-firefox/issues/new) to add the site, otherwise my extension cannot bypass it either. ### Troubleshooting +* This extension works best alongside [uBlock Origin](https://chrome.google.com/webstore/detail/ublock/epcnnfbjfcgphgdmggkamkmgojdagdnn). * On WSJ if you are already viewing an article and click into another article and the paywall comes up, try refreshing the page (and click 🗙 to close the "Continue reading your article with a WSJ membership" popup). * For The Denver Post turn off uBlock. diff --git a/background.js b/background.js index 496f65a..50c8972 100644 --- a/background.js +++ b/background.js @@ -155,7 +155,7 @@ chrome.runtime.onInstalled.addListener(function (details) { // WSJ bypass chrome.webRequest.onBeforeRequest.addListener(function (details) { - if (!isSiteEnabled(details)) { + if (!isSiteEnabled(details) || details.url.indexOf("mod=rsswn") !== -1) { return; } diff --git a/manifest.json b/manifest.json index deeda7c..68bed01 100644 --- a/manifest.json +++ b/manifest.json @@ -18,5 +18,5 @@ "page": "options.html" }, "permissions": [ "cookies", "", "storage", "webRequest", "webRequestBlocking"], - "version": "1.4.2" + "version": "1.4.3" }