From a778b011e6ee7f075fd7c8372046f39d66112e21 Mon Sep 17 00:00:00 2001 From: Rushil Srivastava Date: Sun, 23 Sep 2018 20:23:35 -0700 Subject: [PATCH] quick bug fixes and economist added --- README.md | 1 + manifest.json | 6 ++++-- src/js/background.js | 7 ++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e4bb154..fd5499c 100755 --- a/README.md +++ b/README.md @@ -43,3 +43,4 @@ I made this because as a student, it isn't practical for me to pay each company * [The Age](https://www.theage.com.au/) * [Chicago Tribune](http://www.chicagotribune.com/) * [Harvard Business Review](https://hbr.org/) +* [The Economist](https://www.economist.com/) diff --git a/manifest.json b/manifest.json index 3780be5..82f56df 100755 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "OpenNews", - "version": "0.16", + "version": "0.17", "manifest_version": 2, "description": "Get around the paywall for many news sites, and experience an open, free web.", "author": "Rushil Srivastava", @@ -71,6 +71,8 @@ "*://*.theage.com.au/*", "*://.theage.com.au/*", "*://*.hbr.org/*", - "*://.hbr.org/*" + "*://.hbr.org/*", + "*://*.economist.com/*", + "*://.economist.com/*" ] } diff --git a/src/js/background.js b/src/js/background.js index 5f9a874..e319e33 100755 --- a/src/js/background.js +++ b/src/js/background.js @@ -103,13 +103,18 @@ const sites = { cookies: true }, chicagotribune: { - url: "*://*.chicagotribune.com/*" + url: "*://*.chicagotribune.com/*", + cookies: true }, hbr: { url: "*://*.hbr.org/*", js: [ "*://*.hbr.org/resources/js/*" ] + }, + economist: { + url: "*://*.economist.com/*", + cookies: true } };