mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-04-30 02:34:26 +02:00
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)
This commit is contained in:
parent
d1c4596964
commit
c6405409e1
@ -4,15 +4,19 @@ 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',
|
||||
'Chicago Tribune': 'chicagotribune.com',
|
||||
'Daily Press': 'dailypress.com',
|
||||
'The Economist': 'economist.com',
|
||||
'Financial Times': 'ft.com',
|
||||
'Glassdoor': 'glassdoor.com',
|
||||
'Haaretz': 'haaretz.co.il',
|
||||
'Hartford Courant': 'courant.com',
|
||||
'Harvard Business Review': 'hbr.org',
|
||||
'Het Financieele Dagblad': 'fd.nl',
|
||||
'Inc.com': 'inc.com',
|
||||
'Le Temps': 'letemps.ch',
|
||||
'Los Angeles Times': 'latimes.com',
|
||||
'Medscape': 'medscape.com',
|
||||
'MIT Technology Review': 'technologyreview.com',
|
||||
@ -43,14 +47,18 @@ var allow_cookies = [
|
||||
'asia.nikkei.com',
|
||||
'nytimes.com',
|
||||
'wsj.com',
|
||||
'couriermail.com.au'
|
||||
'couriermail.com.au',
|
||||
'letemps.ch',
|
||||
'fd.nl'
|
||||
]
|
||||
|
||||
// Removes cookies after page load
|
||||
var remove_cookies = [
|
||||
'theaustralian.com.au',
|
||||
'asia.nikkei.com',
|
||||
'couriermail.com.au'
|
||||
'couriermail.com.au',
|
||||
'letemps.ch',
|
||||
'fd.nl'
|
||||
]
|
||||
|
||||
function setDefaultOptions() {
|
||||
@ -106,6 +114,7 @@ chrome.runtime.onInstalled.addListener(function (details) {
|
||||
|
||||
|
||||
chrome.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
||||
console.log("hello asdf");
|
||||
if (blockedRegexes.some(function(regex) { return regex.test(details.url); })) {
|
||||
return { cancel: true };
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
Updates--
|
||||
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-04-16: Added MIT Technology Review (technologyreview.com), NRC (nrc.nl), The Courier Mail (couriermail.com.au).
|
||||
2017-04-05: Added 'Nikkei Asian Review'.
|
||||
@ -18,9 +19,12 @@ Daily Press (dailypress.com)
|
||||
The Economist (economist.com)
|
||||
Financial Times (ft.com)
|
||||
Glassdoor (glassdoor.com)
|
||||
Haaretz (haaretz.co.il)
|
||||
Hartford Courant (courant.com)
|
||||
Harvard Business Review (hbr.org)
|
||||
Het Financieele Dagblad (fd.nl)
|
||||
Inc.com (inc.com)
|
||||
Le Temps (letemps.ch)
|
||||
Los Angeles Times (latimes.com)
|
||||
Medscape (medscape.com)
|
||||
MIT Technology Review (technologyreview.com)
|
||||
|
@ -19,6 +19,6 @@
|
||||
},
|
||||
|
||||
"permissions": [ "cookies",
|
||||
"*://*.baltimoresun.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/", "storage", "webRequest", "webRequestBlocking"],
|
||||
"version": "1.0.5"
|
||||
"*://*.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"
|
||||
}
|
||||
|
@ -2,15 +2,19 @@ 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',
|
||||
'Chicago Tribune': 'chicagotribune.com',
|
||||
'Daily Press': 'dailypress.com',
|
||||
'The Economist': 'economist.com',
|
||||
'Financial Times': 'ft.com',
|
||||
'Glassdoor': 'glassdoor.com',
|
||||
'Haaretz': 'haaretz.co.il',
|
||||
'Hartford Courant': 'courant.com',
|
||||
'Harvard Business Review': 'hbr.org',
|
||||
'Het Financieele Dagblad': 'fd.nl',
|
||||
'Inc.com': 'inc.com',
|
||||
'Le Temps': 'letemps.ch',
|
||||
'Los Angeles Times': 'latimes.com',
|
||||
'Medscape': 'medscape.com',
|
||||
'MIT Technology Review': 'technologyreview.com',
|
||||
|
Loading…
x
Reference in New Issue
Block a user