Releasing v1.0.7

This commit is contained in:
Adam 2018-01-30 21:26:21 -08:00
parent c6405409e1
commit 314608857f
6 changed files with 28 additions and 25 deletions

View File

@ -2,7 +2,6 @@
var defaultSites = { var defaultSites = {
'The Age': 'theage.com.au', 'The Age': 'theage.com.au',
'The Australian': 'theaustralian.com.au',
'Baltimore Sun': 'baltimoresun.com', 'Baltimore Sun': 'baltimoresun.com',
'Barron\'s': 'barrons.com', 'Barron\'s': 'barrons.com',
'Crain\'s Chicago Business': 'chicagobusiness.com', 'Crain\'s Chicago Business': 'chicagobusiness.com',
@ -18,11 +17,13 @@ var defaultSites = {
'Inc.com': 'inc.com', 'Inc.com': 'inc.com',
'Le Temps': 'letemps.ch', 'Le Temps': 'letemps.ch',
'Los Angeles Times': 'latimes.com', 'Los Angeles Times': 'latimes.com',
'Medium': 'medium.com',
'Medscape': 'medscape.com', 'Medscape': 'medscape.com',
'MIT Technology Review': 'technologyreview.com', 'MIT Technology Review': 'technologyreview.com',
'Nikkei Asian Review': 'asia.nikkei.com', 'Nikkei Asian Review': 'asia.nikkei.com',
'NRC': 'nrc.nl', '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 Morning Call': 'mcall.com',
'The Nation': 'thenation.com', 'The Nation': 'thenation.com',
'The New York Times': 'nytimes.com', 'The New York Times': 'nytimes.com',
@ -32,33 +33,34 @@ var defaultSites = {
'SunSentinel': 'sun-sentinel.com', 'SunSentinel': 'sun-sentinel.com',
'The Seattle Times': 'seattletimes.com', 'The Seattle Times': 'seattletimes.com',
'The Sydney Morning Herald': 'smh.com.au', 'The Sydney Morning Herald': 'smh.com.au',
'The Telegraph': 'telegraph.co.uk',
'The Washington Post': 'washingtonpost.com', 'The Washington Post': 'washingtonpost.com',
'The Wall Street Journal': 'wsj.com' 'The Wall Street Journal': 'wsj.com'
}; };
var restrictions = { const restrictions = {
'barrons.com': 'barrons.com/articles' 'barrons.com': 'barrons.com/articles'
} }
// Don't remove cookies before page load // Don't remove cookies before page load
var allow_cookies = [ const allow_cookies = [
'theaustralian.com.au',
'asia.nikkei.com', 'asia.nikkei.com',
'nytimes.com', 'nytimes.com',
'wsj.com', 'wsj.com',
'couriermail.com.au', 'ft.com',
'letemps.ch', 'letemps.ch',
'fd.nl' 'fd.nl',
'bostonglobe.com',
'mercurynews.com'
] ]
// Removes cookies after page load // Removes cookies after page load
var remove_cookies = [ const remove_cookies = [
'theaustralian.com.au',
'asia.nikkei.com', 'asia.nikkei.com',
'couriermail.com.au', 'ft.com',
'letemps.ch', 'letemps.ch',
'fd.nl' 'fd.nl',
'bostonglobe.com',
'mercurynews.com'
] ]
function setDefaultOptions() { function setDefaultOptions() {
@ -114,7 +116,6 @@ chrome.runtime.onInstalled.addListener(function (details) {
chrome.webRequest.onBeforeSendHeaders.addListener(function(details) { chrome.webRequest.onBeforeSendHeaders.addListener(function(details) {
console.log("hello asdf");
if (blockedRegexes.some(function(regex) { return regex.test(details.url); })) { if (blockedRegexes.some(function(regex) { return regex.test(details.url); })) {
return { cancel: true }; return { cancel: true };
} }

View File

@ -1,4 +1,5 @@
Updates-- Updates--
2018-01-30 v1.0.7: 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.06: Added back Barron's, added Het Financieele Dagblad (fd.nl), added Le Temps (letemps.ch), added Haaretz (haaretz.co.il) 2017-09-14 v1.06: Added back Barron's, added Het Financieele Dagblad (fd.nl), added Le Temps (letemps.ch), added Haaretz (haaretz.co.il)
2017-07-15 v1.05: removed Barron's as the google redirect no longer works 2017-07-15 v1.05: removed Barron's as the google redirect no longer works
2017-04-16: Added MIT Technology Review (technologyreview.com), NRC (nrc.nl), The Courier Mail (couriermail.com.au). 2017-04-16: Added MIT Technology Review (technologyreview.com), NRC (nrc.nl), The Courier Mail (couriermail.com.au).
@ -10,7 +11,6 @@ Updates--
Bypass the following sites' paywalls: Bypass the following sites' paywalls:
The Age (theage.com.au) The Age (theage.com.au)
The Australian (theaustralian.com.au)
Baltimore Sun (baltimoresun.com) Baltimore Sun (baltimoresun.com)
Barron's (barrons.com) Barron's (barrons.com)
Crain's Chicago Business (chicagobusiness.com) Crain's Chicago Business (chicagobusiness.com)
@ -26,11 +26,13 @@ Het Financieele Dagblad (fd.nl)
Inc.com (inc.com) Inc.com (inc.com)
Le Temps (letemps.ch) Le Temps (letemps.ch)
Los Angeles Times (latimes.com) Los Angeles Times (latimes.com)
Medium (medium.com)
Medscape (medscape.com) Medscape (medscape.com)
MIT Technology Review (technologyreview.com) MIT Technology Review (technologyreview.com)
Nikkei Asian Review (asia.nikkei.com) Nikkei Asian Review (asia.nikkei.com)
NRC (nrc.nl) 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 Morning Call (mcall.com)
The Nation (thenation.com) The Nation (thenation.com)
The New York Times (nytimes.com) The New York Times (nytimes.com)
@ -40,6 +42,5 @@ Quora (quora.com)
SunSentinel (sun-sentinel.com) SunSentinel (sun-sentinel.com)
The Seattle Times (seattletimes.com) The Seattle Times (seattletimes.com)
The Sydney Morning Herald (smh.com.au) The Sydney Morning Herald (smh.com.au)
The Telegraph (telegraph.co.uk)
The Washington Post (washingtonpost.com) The Washington Post (washingtonpost.com)
The Wall Street Journal (wsj.com) The Wall Street Journal (wsj.com)

View File

@ -17,8 +17,6 @@
"chrome_style": true, "chrome_style": true,
"page": "options.html" "page": "options.html"
}, },
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
"permissions": [ "cookies", "version": "1.0.7"
"*://*.baltimoresun.com/", "*://*.barrons.com/", "*://*.chicagobusiness.com/", "*://*.chicagotribune.com/", "*://*.dailypress.com/", "*://*.economist.com/", "*://*.ft.com/", "*://*.courant.com/", "*://*.hbr.org/", "*://*.inc.com/", "*://*.jacksonville.com/", "*://*.latimes.com/", "*://*.mcall.com/", "*://*.medscape.com/", "*://*.newyorker.com/", "*://*.orlandosentinel.com/", "*://*.quora.com/", "*://*.telegraph.co.uk/", "*://*.theage.com.au/", "*://*.thenation.com/", "*://*.tribdss.com/", "*://*.smh.com.au/", "*://*.sun-sentinel.com/", "*://*.washingtonpost.com/", "*://*.wsj.com/", "*://*.seattletimes.com/", "*://*.glassdoor.com/", "*://*.nytimes.com/", "*://.theaustralian.com.au/", "*://*.theaustralian.com.au/", "*://*.nikkei.com/", "*://*.technologyreview.com/", "*://*.nrc.nl/", "*://*.couriermail.com.au/", "*://.couriermail.com.au/", "*://*.fd.nl/", "*://*.letemps.ch/", "*://*.haaretz.co.il/", "storage", "webRequest", "webRequestBlocking"],
"version": "1.0.6"
} }

View File

@ -24,7 +24,9 @@
<div id="status"></div> <div id="status"></div>
<div id="error"></div> <div id="error"></div>
<br/> <br/>
<button id="save">Save</button> <span style='float:left;'>
<button id="save">Save</button>
</span>
<span style='float:right;'> <span style='float:right;'>
<button id="select-all">Select all</button> <button id="select-all">Select all</button>
<button id="select-none">Select none</button> <button id="select-none">Select none</button>

View File

@ -1,6 +1,5 @@
var defaultSites = { var defaultSites = {
'The Age': 'theage.com.au', 'The Age': 'theage.com.au',
'The Australian': 'theaustralian.com.au',
'Baltimore Sun': 'baltimoresun.com', 'Baltimore Sun': 'baltimoresun.com',
'Barron\'s': 'barrons.com', 'Barron\'s': 'barrons.com',
'Crain\'s Chicago Business': 'chicagobusiness.com', 'Crain\'s Chicago Business': 'chicagobusiness.com',
@ -16,11 +15,13 @@ var defaultSites = {
'Inc.com': 'inc.com', 'Inc.com': 'inc.com',
'Le Temps': 'letemps.ch', 'Le Temps': 'letemps.ch',
'Los Angeles Times': 'latimes.com', 'Los Angeles Times': 'latimes.com',
'Medium': 'medium.com',
'Medscape': 'medscape.com', 'Medscape': 'medscape.com',
'MIT Technology Review': 'technologyreview.com', 'MIT Technology Review': 'technologyreview.com',
'Nikkei Asian Review': 'asia.nikkei.com', 'Nikkei Asian Review': 'asia.nikkei.com',
'NRC': 'nrc.nl', '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 Morning Call': 'mcall.com',
'The Nation': 'thenation.com', 'The Nation': 'thenation.com',
'The New York Times': 'nytimes.com', 'The New York Times': 'nytimes.com',
@ -30,7 +31,6 @@ var defaultSites = {
'SunSentinel': 'sun-sentinel.com', 'SunSentinel': 'sun-sentinel.com',
'The Seattle Times': 'seattletimes.com', 'The Seattle Times': 'seattletimes.com',
'The Sydney Morning Herald': 'smh.com.au', 'The Sydney Morning Herald': 'smh.com.au',
'The Telegraph': 'telegraph.co.uk',
'The Washington Post': 'washingtonpost.com', 'The Washington Post': 'washingtonpost.com',
'The Wall Street Journal': 'wsj.com' 'The Wall Street Journal': 'wsj.com'
}; };

View File

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<body> <body>
<div style="width:180px;">Bypass Paywalls by Adam</div> <div style="width:220px;">Bypass Paywalls v1.0.7 by Adam
<br><a href="options.html">Options</a></div>
</body> </body>
</html> </html>