diff --git a/background.js b/background.js index bcac169..a165f7f 100644 --- a/background.js +++ b/background.js @@ -6,7 +6,9 @@ var defaultSites = { 'Barron\'s': 'barrons.com', 'Crain\'s Chicago Business': 'chicagobusiness.com', 'Chicago Tribune': 'chicagotribune.com', + 'Corriere Della Sera': 'corriere.it', 'Daily Press': 'dailypress.com', + 'Dagens Nyheter': 'dn.se', 'The Economist': 'economist.com', 'Financial Times': 'ft.com', 'Glassdoor': 'glassdoor.com', @@ -50,7 +52,8 @@ const allow_cookies = [ 'letemps.ch', 'fd.nl', 'bostonglobe.com', -'mercurynews.com' +'mercurynews.com', +'theage.com.au' ] // Removes cookies after page load @@ -60,7 +63,8 @@ const remove_cookies = [ 'letemps.ch', 'fd.nl', 'bostonglobe.com', -'mercurynews.com' +'mercurynews.com', +'theage.com.au' ] function setDefaultOptions() { diff --git a/bypass-dark.png b/bypass-dark.png new file mode 100644 index 0000000..54af653 Binary files /dev/null and b/bypass-dark.png differ diff --git a/changelog.txt b/changelog.txt index 4e5daaf..6894746 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,5 @@ Updates-- +2018-04-05 v1.2.0: Added dark theme icon (thanks to Geoffrey De Belie), added Corriere Della Sera (corriere.it), added Dagens Nyheter (dn.se), fixed The Age (theage.com.au) 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 @@ -16,7 +17,9 @@ Baltimore Sun (baltimoresun.com) Barron's (barrons.com) Crain's Chicago Business (chicagobusiness.com) Chicago Tribune (chicagotribune.com) +Corriere Della Sera (corriere.it) Daily Press (dailypress.com) +Dagens Nyheter (dn.se) The Economist (economist.com) Financial Times (ft.com) Glassdoor (glassdoor.com) diff --git a/manifest.json b/manifest.json index d49ec6f..29c4260 100644 --- a/manifest.json +++ b/manifest.json @@ -11,7 +11,11 @@ "default_popup": "popup.html", "default_icon": { "128": "bypass.png" - } + }, + "theme_icons": [{ + "light": "bypass-dark.png", + "dark": "bypass.png", + "size": 128 }] }, "description": "Bypass News Sites' Paywalls", "icons": { @@ -24,5 +28,5 @@ "page": "options.html" }, "permissions": [ "cookies", "", "storage", "webRequest", "webRequestBlocking"], - "version": "1.1.0" + "version": "1.2.0" } diff --git a/options.js b/options.js index 27b5b5a..c44e3aa 100644 --- a/options.js +++ b/options.js @@ -4,7 +4,9 @@ var defaultSites = { 'Barron\'s': 'barrons.com', 'Crain\'s Chicago Business': 'chicagobusiness.com', 'Chicago Tribune': 'chicagotribune.com', + 'Corriere Della Sera': 'corriere.it', 'Daily Press': 'dailypress.com', + 'Dagens Nyheter': 'dn.se', 'The Economist': 'economist.com', 'Financial Times': 'ft.com', 'Glassdoor': 'glassdoor.com', diff --git a/popup.html b/popup.html index 5ae4cfa..a140bbc 100644 --- a/popup.html +++ b/popup.html @@ -1,7 +1,7 @@ -
Bypass Paywalls v1.1.0 by Adam +
Bypass Paywalls v1.2.0 by Adam Options