From 4f9d61f0ad29438cbbf501dce977fbde82fa8df4 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sun, 21 Feb 2021 17:22:06 +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 c06d237..6b7051a 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,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 100644 --- 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 d9a7b95..25735fc 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox 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 100644 --- 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 f5244c3..660aed0 100644 --- a/manifest.json +++ b/manifest.json @@ -187,6 +187,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 100644 --- 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",