From 6ad8a888923c19dfd8e3f71e6774ce95a63d78f3 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 2 Feb 2019 15:30:42 -0800 Subject: [PATCH] Fix for Chrome v72 --- README.md | 3 +++ background.js | 2 +- manifest.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2ee78fc..69c681c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # Bypass Paywalls for Chrome + +### 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. diff --git a/background.js b/background.js index 3f61022..7b267e9 100644 --- a/background.js +++ b/background.js @@ -240,7 +240,7 @@ chrome.webRequest.onBeforeSendHeaders.addListener(function(details) { return { requestHeaders: requestHeaders }; }, { urls: [''] -}, ['blocking', 'requestHeaders']); +}, ['blocking', 'requestHeaders', 'extraHeaders']); // remove cookies after page load chrome.webRequest.onCompleted.addListener(function(details) { diff --git a/manifest.json b/manifest.json index 0b0837c..7308828 100644 --- a/manifest.json +++ b/manifest.json @@ -18,5 +18,5 @@ "page": "options.html" }, "permissions": [ "cookies", "", "storage", "webRequest", "webRequestBlocking"], - "version": "1.3.9" + "version": "1.4.0" }