From 9f9d2c8e8b0f608386bd3eed2dd148bcff267663 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Mon, 29 Jun 2020 20:00:56 +0200 Subject: [PATCH] Add Newsweek --- README.md | 1 + background.js | 1 + lp/manifest.json | 2 ++ sites.js | 1 + 4 files changed, 5 insertions(+) diff --git a/README.md b/README.md index ff1dd39..ad4048e 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ Install add-on by downloading xpi-file. [Harper's Magazine](https://harpers.org) - [Inkl](https://www.inkl.com) - [National Review](https://www.nationalreview.com) - +[Newsweek](https://www.newsweek.com) - [The American Interest](https://www.the-american-interest.com) - [The Atlantic](https://www.theatlantic.com) - [The Christian Science Monitor](https://www.csmonitor.com) - diff --git a/background.js b/background.js index c71ac7f..416f6ce 100644 --- a/background.js +++ b/background.js @@ -197,6 +197,7 @@ var blockedRegexes = { 'nationalreview.com': /.+\.blueconic\.net\/.+/, 'newcastleherald.com.au': /.+cdn-au\.piano\.io\/api\/tinypass.+\.js/, 'newrepublic.com': /.+\.onecount\.net\/js\/.+/, +'newsweek.com': /.+\.googletagmanager\.com\/gtm\.js/, 'nytimes.com': /(.+meter-svc\.nytimes\.com\/meter\.js.+|.+mwcm\.nyt\.com\/.+\.js)/, 'nzherald.co.nz': /nzherald\.co\.nz\/.+\/headjs\/.+\.js/, 'portnews.com.au': /.+cdn-au\.piano\.io\/api\/tinypass.+\.js/, diff --git a/lp/manifest.json b/lp/manifest.json index f047065..2914718 100644 --- a/lp/manifest.json +++ b/lp/manifest.json @@ -156,6 +156,7 @@ "*://*.newrepublic.com/*", "*://*.news-gazette.com/*", "*://*.newstatesman.com/*", + "*://*.newsweek.com/*", "*://*.newyorker.com/*", "*://*.northerndailyleader.com.au/*", "*://*.nrc.nl/*", @@ -246,6 +247,7 @@ "*://*.epimg.net/*", "*://*.evolok.net/*", "*://*.flip-pay.com/*", + "*://*.googletagmanager.com/*", "*://*.htmedia.in/*", "*://*.jsdelivr.net/*", "*://*.lightboxcdn.com/*", diff --git a/sites.js b/sites.js index 404f1e6..b1c53d7 100644 --- a/sites.js +++ b/sites.js @@ -105,6 +105,7 @@ var defaultSites = "New York Magazine": "nymag.com", "New Zealand Herald": "nzherald.co.nz", "Newcastle Herald": "newcastleherald.com.au", + "Newsweek": "newsweek.com", "Nikkei Asian Review": "asia.nikkei.com", "Northern Territory News": "ntnews.com.au", "NRC Handelsblad": "nrc.nl",