From 74367cc9036f796296d95cf144615754505e8407 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sun, 21 Feb 2021 17:21:32 +0100 Subject: [PATCH] Add Houston Chronicle (local USA) --- README.md | 1 + background.js | 3 ++- changelog.txt | 1 + contentScript.js | 2 +- manifest.json | 1 + sites.js | 1 + 6 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d54f02d..5597059 100755 --- a/README.md +++ b/README.md @@ -159,6 +159,7 @@ _* free articles only._ [Chicago Tribune](https://www.chicagotribune.com) - [Daily Press](https://www.dailypress.com) - [Hartford Courant](https://www.courant.com) - +[Houston Chronicle](https://www.houstonchronicle.com) - [Los Angeles Business Journal](https://labusinessjournal.com) - [Los Angeles Times](https://www.latimes.com) - [Miami Herald](https://www.miamiherald.com) - diff --git a/background.js b/background.js index c046e75..eb82490 100755 --- a/background.js +++ b/background.js @@ -270,6 +270,7 @@ var blockedRegexes = { 'haaretz.com': /haaretz\.com\/hdc\/web\/js\/minified\/header-scripts-int.js.+/, 'hbr.org': /\.tinypass\.com\/.+/, 'historyextra.com': /.+\.evolok\.net\/.+\/authorize\/.+/, + 'houstonchronicle.com': /\.blueconic\.net\//, 'ilrestodelcarlino.it': /\.tinypass\.com\/.+/, 'independent.ie': /(cdn\.flip-pay\.com\/clients\/inm\/flip-pay\.js|cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js)/, 'inquirer.com': /\.tinypass\.com\/.+/, @@ -314,7 +315,7 @@ var blockedRegexes = { 'sciencesetavenir.fr': /.+\.poool\.fr\/.+/, 'scmp.com': /\.tinypass\.com\/.+/, 'seekingalpha.com': /(\.tinypass\.com\/|cdn\.ampproject\.org(\/.+)?\/v\d\/amp-(access|ad|loader)-.+\.js)/, - 'sfchronicle.com': /.+\.blueconic\.net\/.+/, + 'sfchronicle.com': /\.blueconic\.net\//, 'shz.de': /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|fx-flying-carpet)-.+\.js/, 'si.com': /\.blueconic\.net\//, 'slate.com': /(cdn\.cxense\.com\/.+|\.tinypass\.com\/.+)/, diff --git a/changelog.txt b/changelog.txt index 0c94d42..9d29e14 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome Post-release Add Daily Nation (Kenya) +Add Houston Chronicle (USA) Add Schleswig-Holsteinischer Zeitungsverlag (Germany) Add Sports Illustrated Fix-update La Croix (timing) diff --git a/contentScript.js b/contentScript.js index 3ed25e3..7ae568b 100755 --- a/contentScript.js +++ b/contentScript.js @@ -15,7 +15,7 @@ var it_repubblica_domains = ['gelocal.it', 'ilsecoloxix.it', 'lanuovasardegna.it var usa_mcc_domains = ['bnd.com', 'charlotteobserver.com', 'fresnobee.com', 'kansas.com', 'kansascity.com', 'kentucky.com', 'newsobserver.com', 'sacbee.com', 'star-telegram.com', 'thestate.com', 'tri-cityherald.com']; // clean local storage of sites (with an exemption for hold-list) -var arr_localstorage_hold = ['augsburger-allgemeine.de', 'charliehebdo.fr', 'cmjornal.pt', 'elmundo.es', 'expansion.com', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk']; +var arr_localstorage_hold = ['augsburger-allgemeine.de', 'charliehebdo.fr', 'cmjornal.pt', 'elmundo.es', 'expansion.com', 'houstonchronicle.com', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk']; arr_localstorage_hold = arr_localstorage_hold.concat(de_funke_media_domains, es_grupo_vocento_domains); if (!matchDomain(arr_localstorage_hold)){ window.localStorage.clear(); diff --git a/manifest.json b/manifest.json index 7153e97..8af3668 100755 --- a/manifest.json +++ b/manifest.json @@ -175,6 +175,7 @@ "*://*.heraldsun.com.au/*", "*://*.hilltimes.com/*", "*://*.historyextra.com/*", + "*://*.houstonchronicle.com/*", "*://*.hoy.es/*", "*://*.hs.fi/*", "*://*.humo.be/*", diff --git a/sites.js b/sites.js index 8954786..a04f840 100755 --- a/sites.js +++ b/sites.js @@ -99,6 +99,7 @@ var defaultSites = "Harvard Business Review": "hbr.org", "Harvard Business Review Taiwan": "hbrtaiwan.com", "Helsingin Sanomat": "hs.fi", + "Houston Chronicle": "houstonchronicle.com", "Humo.be": "humo.be", "Il Fatto Quotidiano": "ilfattoquotidiano.it", "Il Manifesto": "ilmanifesto.it",