From ebdc468dd6797d4fe6f0413e8be95e851b4528f7 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Tue, 15 Jun 2021 21:32:36 +0200 Subject: [PATCH] Remove The Northern Star (obsolete) --- README.md | 1 - changelog.txt | 1 + contentScript.js | 2 +- manifest.json | 1 - sites.js | 2 +- 5 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c0268e8..d6bf03b 100644 --- a/README.md +++ b/README.md @@ -513,7 +513,6 @@ Grupo Vocento (ABC) regional sites like [Rockhampton Morning Bulletin](https://www.themorningbulletin.com.au) - [Sunshine Coast Daily](https://www.sunshinecoastdaily.com.au) - [The Gympie Times](https://www.gympietimes.com.au) - -[The Northern Star](https://www.northernstar.com.au) - [The Queensland Times](https://www.qt.com.au) - [Warwick Daily News](https://www.warwickdailynews.com.au) * opt-in to custom sites for unlisted diff --git a/changelog.txt b/changelog.txt index 8ee1fe2..ccd9098 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Remove The Northern Star (obsolete) Fix-update Boston Globe (no opt-in) Fix-update The Spectator UK (amp) diff --git a/contentScript.js b/contentScript.js index 404a6fa..a3c0d9f 100644 --- a/contentScript.js +++ b/contentScript.js @@ -34,7 +34,7 @@ if (ext_api.runtime && (matchDomain(['belfasttelegraph.co.uk', 'independent.ie'] // Australian Provincial Newspapers domain = window.location.hostname.replace('www.', ''); let au_apn_script = document.querySelector('script[src^="https://media.apnarm.net.au/"]'); - if (au_apn_script || (domain = matchDomain(['news-mail.com.au', 'frasercoastchronicle.com.au', 'gladstoneobserver.com.au', 'dailyexaminer.com.au', 'dailymercury.com.au', 'themorningbulletin.com.au', 'sunshinecoastdaily.com.au', 'gympietimes.com.au', 'northernstar.com.au', 'qt.com.au', 'warwickdailynews.com.au']))) + if (au_apn_script || (domain = matchDomain(['news-mail.com.au', 'frasercoastchronicle.com.au', 'gladstoneobserver.com.au', 'dailyexaminer.com.au', 'dailymercury.com.au', 'themorningbulletin.com.au', 'sunshinecoastdaily.com.au', 'gympietimes.com.au', 'qt.com.au', 'warwickdailynews.com.au']))) if (!cookieExists('subscribed')) setCookie('subscribed', 'true', domain, '/', 14); } else { diff --git a/manifest.json b/manifest.json index 7fb4b0f..e76f3c9 100644 --- a/manifest.json +++ b/manifest.json @@ -327,7 +327,6 @@ "*://*.noordhollandsdagblad.nl/*", "*://*.nordeclair.fr/*", "*://*.northerndailyleader.com.au/*", - "*://*.northernstar.com.au/*", "*://*.nouvelobs.com/*", "*://*.noz.de/*", "*://*.nrc.nl/*", diff --git a/sites.js b/sites.js index 8d65d67..366dea1 100644 --- a/sites.js +++ b/sites.js @@ -326,7 +326,7 @@ var defaultSites = const au_comm_media_domains = ['bendigoadvertiser.com.au', 'bordermail.com.au', 'canberratimes.com.au', 'centralwesterndaily.com.au', 'dailyadvertiser.com.au', 'dailyliberal.com.au', 'examiner.com.au', 'illawarramercury.com.au', 'newcastleherald.com.au', 'northerndailyleader.com.au', 'portnews.com.au', 'standard.net.au', 'theadvocate.com.au', 'thecourier.com.au', 'westernadvocate.com.au']; const au_news_corp_domains = ['adelaidenow.com.au', 'cairnspost.com.au', 'couriermail.com.au', 'dailytelegraph.com.au', 'geelongadvertiser.com.au', 'goldcoastbulletin.com.au', 'heraldsun.com.au', 'ntnews.com.au', 'theaustralian.com.au', 'thechronicle.com.au', 'themercury.com.au', 'townsvillebulletin.com.au', 'weeklytimesnow.com.au']; -const au_prov_news_domains = ['news-mail.com.au', 'frasercoastchronicle.com.au', 'gladstoneobserver.com.au', 'dailyexaminer.com.au', 'dailymercury.com.au', 'themorningbulletin.com.au', 'sunshinecoastdaily.com.au', 'gympietimes.com.au', 'northernstar.com.au', 'qt.com.au', 'warwickdailynews.com.au']; +const au_prov_news_domains = ['news-mail.com.au', 'frasercoastchronicle.com.au', 'gladstoneobserver.com.au', 'dailyexaminer.com.au', 'dailymercury.com.au', 'themorningbulletin.com.au', 'sunshinecoastdaily.com.au', 'gympietimes.com.au', 'qt.com.au', 'warwickdailynews.com.au']; const br_folha_domains = ['folha.uol.com.br', 'blogfolha.uol.com.br']; const ca_torstar_domains = ['niagarafallsreview.ca', 'stcatharinesstandard.ca', 'thepeterboroughexaminer.com', 'therecord.com', 'thespec.com', 'thestar.com', 'wellandtribune.ca']; const de_funke_media_domains = ['abendblatt.de', 'braunschweiger-zeitung.de', 'morgenpost.de', 'nrz.de', 'otz.de', 'thueringer-allgemeine.de', 'tlz.de', 'waz.de', 'wp.de', 'wr.de'];