From a020991d3c2af8d95c1e4e5959116fbf72c7ff15 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sun, 8 Dec 2019 19:34:26 +0100 Subject: [PATCH] Add Philadelphia Inquirer Already in Chrome extension. --- README.md | 1 + background.js | 4 +++- manifest.json | 3 ++- options.js | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 28a62ca..b9bcf94 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ [The New York Times](https://www.nytimes.com)\ [The New Yorker](https://www.newyorker.com)\ [The News-Gazette](https://www.news-gazette.com)\ +[The Philadelphia Inquirer](https://inquirer.com)\ [The Saturday Paper](https://www.thesaturdaypaper.com.au)\ [The Spectator](https://www.spectator.co.uk)\ [The Seattle Times](https://www.seattletimes.com)\ diff --git a/background.js b/background.js index 67276c2..bb9a355 100644 --- a/background.js +++ b/background.js @@ -79,6 +79,7 @@ var defaultSites = { 'The New York Times': 'nytimes.com', 'The New Yorker': 'newyorker.com', 'The News-Gazette': 'news-gazette.com', + 'The Philadelphia Inquirer': 'inquirer.com', 'The Saturday Paper': 'thesaturdaypaper.com.au', 'The Spectator': 'spectator.co.uk', 'The Seattle Times': 'seattletimes.com', @@ -231,7 +232,8 @@ const blockedRegexes = { 'economist.com': /.+\.tinypass\.com\/.+/, 'lrb.co.uk': /.+\.tinypass\.com\/.+/, 'bostonglobe.com': /meter\.bostonglobe\.com\/js\/.+/, -'foreignpolicy.com': /.+\.tinypass\.com\/.+/ +'foreignpolicy.com': /.+\.tinypass\.com\/.+/, +'inquirer.com': /.+\.tinypass\.com\/.+/ }; const userAgentDesktop = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" diff --git a/manifest.json b/manifest.json index d5c7e81..21768c7 100644 --- a/manifest.json +++ b/manifest.json @@ -152,7 +152,8 @@ "*://*.lrb.co.uk/*", "*://*.the-tls.co.uk/*", "*://*.harpers.org/*", - "*://*.nknews.org/*" + "*://*.nknews.org/*", + "*://*.inquirer.com/*" ], "version": "1.6.2" } diff --git a/options.js b/options.js index 74ec1d0..5336d84 100644 --- a/options.js +++ b/options.js @@ -77,6 +77,7 @@ var defaultSites = { 'The New York Times': 'nytimes.com', 'The New Yorker': 'newyorker.com', 'The News-Gazette': 'news-gazette.com', + 'The Philadelphia Inquirer': 'inquirer.com', 'The Saturday Paper': 'thesaturdaypaper.com.au', 'The Spectator': 'spectator.co.uk', 'The Seattle Times': 'seattletimes.com',