Add back haaretz.co.il (may not always work), alphabetize order of sites, update README
parent
816f236ef3
commit
251227116e
15
README.md
15
README.md
|
@ -7,13 +7,13 @@
|
|||
1. Enable Developer Mode
|
||||
1. Drag the `bypass-paywalls-chrome-master` folder anywhere on the page to import it.
|
||||
|
||||
Note: Every time you open Chrome it may warn you about running extensions in developer mode, just hit cancel to keep the extension enabled.
|
||||
|
||||
**This extension works best along side the adblocker uBlock Origin
|
||||
Notes:
|
||||
* Every time you open Chrome it may warn you about running extensions in developer mode, just hit 🗙 to keep the extension enabled.
|
||||
* You will be logged out for any site you have checked.
|
||||
* This extension works best along side the adblocker uBlock Origin.
|
||||
|
||||
### Bypass the following sites' paywalls with this extension:
|
||||
|
||||
The Age (theage.com.au)\
|
||||
Baltimore Sun (baltimoresun.com)\
|
||||
Barron's (barrons.com)\
|
||||
Bloomberg (bloomberg.com)\
|
||||
|
@ -29,7 +29,7 @@ Examiner (examiner.com.au)\
|
|||
Financial Times (ft.com)\
|
||||
Foreign Policy (foreignpolicy.com)\
|
||||
Glassdoor (glassdoor.com)\
|
||||
Haaretz English (haaretz.com)\
|
||||
Haaretz (haaretz.co.il / haaretz.com)\
|
||||
Hartford Courant (courant.com)\
|
||||
Harvard Business Review (hbr.org)\
|
||||
Inc.com (inc.com)\
|
||||
|
@ -42,9 +42,10 @@ NRC (nrc.nl)\
|
|||
OrlandoSentinel (orlandosentinel.com)\
|
||||
Quora (quora.com)\
|
||||
SunSentinel (sun-sentinel.com)\
|
||||
TheMarker (themarker.com)\
|
||||
The Advocate (theadvocate.com.au)\
|
||||
The Age (theage.com.au)\
|
||||
The Boston Globe (bostonglobe.com)\
|
||||
TheMarker (themarker.com)\
|
||||
The Mercury News (mercurynews.com)\
|
||||
The Morning Call (mcall.com)\
|
||||
The Nation (thenation.com)\
|
||||
|
@ -59,4 +60,4 @@ The Wall Street Journal (wsj.com)\
|
|||
Wired (wired.com)
|
||||
|
||||
### Troubleshooting
|
||||
For The Denver Post turn off uBlock.\
|
||||
For The Denver Post turn off uBlock.
|
|
@ -1,7 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
var defaultSites = {
|
||||
'The Age': 'theage.com.au',
|
||||
'Baltimore Sun': 'baltimoresun.com',
|
||||
'Barron\'s': 'barrons.com',
|
||||
'Bloomberg': 'bloomberg.com',
|
||||
|
@ -17,6 +16,7 @@ var defaultSites = {
|
|||
'Financial Times': 'ft.com',
|
||||
'Foreign Policy': 'foreignpolicy.com',
|
||||
'Glassdoor': 'glassdoor.com',
|
||||
'Haaretz': 'haaretz.co.il',
|
||||
'Haaretz English': 'haaretz.com',
|
||||
'Hartford Courant': 'courant.com',
|
||||
'Harvard Business Review': 'hbr.org',
|
||||
|
@ -31,14 +31,15 @@ var defaultSites = {
|
|||
'Quora': 'quora.com',
|
||||
'SunSentinel': 'sun-sentinel.com',
|
||||
'The Advocate': 'theadvocate.com.au',
|
||||
'The Age': 'theage.com.au',
|
||||
'The Boston Globe': 'bostonglobe.com',
|
||||
'TheMarker': 'themarker.com',
|
||||
'The Mercury News': 'mercurynews.com',
|
||||
'The Morning Call': 'mcall.com',
|
||||
'The Nation': 'thenation.com',
|
||||
'The New Statesman': 'newstatesman.com',
|
||||
'The New York Times': 'nytimes.com',
|
||||
'The New Yorker': 'newyorker.com',
|
||||
'TheMarker': 'themarker.com',
|
||||
'The Seattle Times': 'seattletimes.com',
|
||||
'The Spectator': 'spectator.co.uk',
|
||||
'The Sydney Morning Herald': 'smh.com.au',
|
||||
|
@ -146,10 +147,6 @@ chrome.runtime.onInstalled.addListener(function (details) {
|
|||
|
||||
|
||||
chrome.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
||||
if (blockedRegexes.some(function(regex) { return regex.test(details.url); })) {
|
||||
return { cancel: true };
|
||||
}
|
||||
|
||||
var isEnabled = enabledSites.some(function(enabledSite) {
|
||||
|
||||
var useSite = details.url.indexOf("." + enabledSite) !== -1;
|
||||
|
@ -166,6 +163,10 @@ chrome.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (blockedRegexes.some(function(regex) { return regex.test(details.url); })) {
|
||||
return { cancel: true };
|
||||
}
|
||||
|
||||
var requestHeaders = details.requestHeaders;
|
||||
var tabId = details.tabId;
|
||||
|
||||
|
|
|
@ -18,5 +18,5 @@
|
|||
"page": "options.html"
|
||||
},
|
||||
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
|
||||
"version": "1.3.5"
|
||||
"version": "1.3.6"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
var defaultSites = {
|
||||
'The Age': 'theage.com.au',
|
||||
'Baltimore Sun': 'baltimoresun.com',
|
||||
'Barron\'s': 'barrons.com',
|
||||
'Bloomberg': 'bloomberg.com',
|
||||
|
@ -15,6 +14,7 @@ var defaultSites = {
|
|||
'Financial Times': 'ft.com',
|
||||
'Foreign Policy': 'foreignpolicy.com',
|
||||
'Glassdoor': 'glassdoor.com',
|
||||
'Haaretz': 'haaretz.co.il',
|
||||
'Haaretz English': 'haaretz.com',
|
||||
'Hartford Courant': 'courant.com',
|
||||
'Harvard Business Review': 'hbr.org',
|
||||
|
@ -29,14 +29,15 @@ var defaultSites = {
|
|||
'Quora': 'quora.com',
|
||||
'SunSentinel': 'sun-sentinel.com',
|
||||
'The Advocate': 'theadvocate.com.au',
|
||||
'The Age': 'theage.com.au',
|
||||
'The Boston Globe': 'bostonglobe.com',
|
||||
'TheMarker': 'themarker.com',
|
||||
'The Mercury News': 'mercurynews.com',
|
||||
'The Morning Call': 'mcall.com',
|
||||
'The Nation': 'thenation.com',
|
||||
'The New Statesman': 'newstatesman.com',
|
||||
'The New York Times': 'nytimes.com',
|
||||
'The New Yorker': 'newyorker.com',
|
||||
'TheMarker': 'themarker.com',
|
||||
'The Seattle Times': 'seattletimes.com',
|
||||
'The Spectator': 'spectator.co.uk',
|
||||
'The Sydney Morning Herald': 'smh.com.au',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div style="width:220px;">Bypass Paywalls v1.3.5 by Adam
|
||||
<div style="width:220px;">Bypass Paywalls v1.3.6 by Adam
|
||||
<br><a href="options.html">Options</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue