From ea1e67816721c2633ce8d792d440e11f068bbf28 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 30 Jan 2018 21:08:11 -0800 Subject: [PATCH] Releasing v1.1.0 --- background.js | 26 +++++++++++++------------- changelog.txt | 7 ++++--- manifest.json | 3 +-- options.html | 4 +++- options.js | 6 +++--- popup.html | 2 +- 6 files changed, 25 insertions(+), 23 deletions(-) diff --git a/background.js b/background.js index 84c5ce5..bcac169 100644 --- a/background.js +++ b/background.js @@ -2,7 +2,6 @@ var defaultSites = { 'The Age': 'theage.com.au', - 'The Australian': 'theaustralian.com.au', 'Baltimore Sun': 'baltimoresun.com', 'Barron\'s': 'barrons.com', 'Crain\'s Chicago Business': 'chicagobusiness.com', @@ -18,11 +17,13 @@ var defaultSites = { 'Inc.com': 'inc.com', 'Le Temps': 'letemps.ch', 'Los Angeles Times': 'latimes.com', + 'Medium': 'medium.com', 'Medscape': 'medscape.com', 'MIT Technology Review': 'technologyreview.com', 'Nikkei Asian Review': 'asia.nikkei.com', 'NRC': 'nrc.nl', - 'The Courier Mail': 'couriermail.com.au', + 'The Boston Globe': 'bostonglobe.com', + 'The Mercury News': 'mercurynews.com', 'The Morning Call': 'mcall.com', 'The Nation': 'thenation.com', 'The New York Times': 'nytimes.com', @@ -32,35 +33,34 @@ var defaultSites = { 'SunSentinel': 'sun-sentinel.com', 'The Seattle Times': 'seattletimes.com', 'The Sydney Morning Herald': 'smh.com.au', - 'The Telegraph': 'telegraph.co.uk', 'The Washington Post': 'washingtonpost.com', 'The Wall Street Journal': 'wsj.com' }; -var restrictions = { +const restrictions = { 'barrons.com': 'barrons.com/articles' } // Don't remove cookies before page load -var allow_cookies = [ -'theaustralian.com.au', +const allow_cookies = [ 'asia.nikkei.com', 'nytimes.com', 'wsj.com', -'couriermail.com.au', 'ft.com', 'letemps.ch', -'fd.nl' +'fd.nl', +'bostonglobe.com', +'mercurynews.com' ] // Removes cookies after page load -var remove_cookies = [ -'theaustralian.com.au', +const remove_cookies = [ 'asia.nikkei.com', -'couriermail.com.au', 'ft.com', 'letemps.ch', -'fd.nl' +'fd.nl', +'bostonglobe.com', +'mercurynews.com' ] function setDefaultOptions() { @@ -73,7 +73,7 @@ function setDefaultOptions() { } -var blockedRegexes = [ +const blockedRegexes = [ /.+:\/\/.+\.tribdss\.com\//, /thenation\.com\/.+\/paywall-script\.php/ ]; diff --git a/changelog.txt b/changelog.txt index 74d7c6e..4e5daaf 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,5 @@ Updates-- +2018-01-30 v1.1.0: Added Medium (medium.com), added The Boston Globe (bostonglobe.com), added The Mercury News (mercurynews.com), removed The Australian (theaustralian.com.au), removed The Courier Mail (couriermail.com.au), removed The Telegraph (telegraph.co.uk) 2017-09-14 v1.09: Added back Barron's, added Het Financieele Dagblad (fd.nl), added Le Temps (letemps.ch), added Haaretz (haaretz.co.il) 2017-06-15 v1.08: Added browser_action icon, removed Barron's, fixed Financial Times (ft.com), added options link to popup 2017-05-14: Ported to Firefox @@ -11,7 +12,6 @@ Updates-- Bypass the following sites' paywalls: The Age (theage.com.au) -The Australian (theaustralian.com.au) Baltimore Sun (baltimoresun.com) Barron's (barrons.com) Crain's Chicago Business (chicagobusiness.com) @@ -27,11 +27,13 @@ Het Financieele Dagblad (fd.nl) Inc.com (inc.com) Le Temps (letemps.ch) Los Angeles Times (latimes.com) +Medium (medium.com) Medscape (medscape.com) MIT Technology Review (technologyreview.com) Nikkei Asian Review (asia.nikkei.com) NRC (nrc.nl) -The Courier Mail (couriermail.com.au) +The Boston Globe (bostonglobe.com) +The Mercury News (mercurynews.com) The Morning Call (mcall.com) The Nation (thenation.com) The New York Times (nytimes.com) @@ -41,6 +43,5 @@ Quora (quora.com) SunSentinel (sun-sentinel.com) The Seattle Times (seattletimes.com) The Sydney Morning Herald (smh.com.au) -The Telegraph (telegraph.co.uk) The Washington Post (washingtonpost.com) The Wall Street Journal (wsj.com) \ No newline at end of file diff --git a/manifest.json b/manifest.json index 275f9e1..d49ec6f 100644 --- a/manifest.json +++ b/manifest.json @@ -23,7 +23,6 @@ "options_ui": { "page": "options.html" }, - "permissions": [ "cookies", "", "storage", "webRequest", "webRequestBlocking"], - "version": "1.0.9" + "version": "1.1.0" } diff --git a/options.html b/options.html index 7a11219..486b25d 100644 --- a/options.html +++ b/options.html @@ -24,7 +24,9 @@

- + + + diff --git a/options.js b/options.js index 55b77b7..27b5b5a 100644 --- a/options.js +++ b/options.js @@ -1,6 +1,5 @@ var defaultSites = { 'The Age': 'theage.com.au', - 'The Australian': 'theaustralian.com.au', 'Baltimore Sun': 'baltimoresun.com', 'Barron\'s': 'barrons.com', 'Crain\'s Chicago Business': 'chicagobusiness.com', @@ -16,11 +15,13 @@ var defaultSites = { 'Inc.com': 'inc.com', 'Le Temps': 'letemps.ch', 'Los Angeles Times': 'latimes.com', + 'Medium': 'medium.com', 'Medscape': 'medscape.com', 'MIT Technology Review': 'technologyreview.com', 'Nikkei Asian Review': 'asia.nikkei.com', 'NRC': 'nrc.nl', - 'The Courier Mail': 'couriermail.com.au', + 'The Boston Globe': 'bostonglobe.com', + 'The Mercury News': 'mercurynews.com', 'The Morning Call': 'mcall.com', 'The Nation': 'thenation.com', 'The New York Times': 'nytimes.com', @@ -30,7 +31,6 @@ var defaultSites = { 'SunSentinel': 'sun-sentinel.com', 'The Seattle Times': 'seattletimes.com', 'The Sydney Morning Herald': 'smh.com.au', - 'The Telegraph': 'telegraph.co.uk', 'The Washington Post': 'washingtonpost.com', 'The Wall Street Journal': 'wsj.com' }; diff --git a/popup.html b/popup.html index 110cfcd..5ae4cfa 100644 --- a/popup.html +++ b/popup.html @@ -1,7 +1,7 @@ -
Bypass Paywalls v1.08 by Adam +
Bypass Paywalls v1.1.0 by Adam Options