From 1241605cb8f885f2a202bd3bfa33b8c7eb6f50e0 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Fri, 14 Feb 2020 13:08:15 +0100 Subject: [PATCH] Add WAtoday (Australia) Additional paywall-scripts in background.js (reduntant with general paywall-script blocking). --- README.md | 4 +++- background.js | 3 ++- sites_custom.json | 5 +++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a933eae..dc35415 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,8 @@ [The Spectator Australia](https://www.spectator.com.au) - [The Sydney Morning Herald](https://www.smh.com.au) – [The Weekly Times](https://www.weeklytimesnow.com.au) – -[Townsville Bulletin](https://www.townsvillebulletin.com.au) +[Townsville Bulletin](https://www.townsvillebulletin.com.au) - +[WAtoday](https://www.watoday.com.au) #### Canada [National Post](https://www.nationalpost.com) - @@ -239,6 +240,7 @@ You can submit a request for a new website [here](https://github.com/magnolia123 ### Troubleshooting * This add-on works best alongside [uBlock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/). * If a site doesn't work try turning off uBlock and refreshing. +* If you live in the EU, also consider installing the extension [I don't care about cookies](https://addons.mozilla.org/en-US/firefox/addon/i-dont-care-about-cookies) in order to remove cookie warnings. * Make sure the (new) site is checked under Options. ### Changelog diff --git a/background.js b/background.js index 821b848..5c28804 100644 --- a/background.js +++ b/background.js @@ -76,7 +76,6 @@ const remove_cookies_select_hold = { // select only specific cookie(s) to drop from remove_cookies domains const remove_cookies_select_drop = { 'ad.nl': ['temptationTrackingId'], - 'caixinglobal.com': ['CAIXINGLB_LOGIN_UUID'], 'demorgen.be': ['TID_ID'], 'dn.se': ['randomSplusId'], @@ -120,6 +119,7 @@ const use_google_bot = [ var blockedRegexes = { 'adweek.com': /.+\.lightboxcdn\.com\/.+/, 'afr.com': /afr\.com\/assets\/vendorsReactRedux_client.+\.js/, +'americanbanker.com': /.+\.tinypass\.com\/.+/, 'bostonglobe.com': /meter\.bostonglobe\.com\/js\/.+/, 'businessinsider.com': /(.+\.tinypass\.com\/.+|cdn\.onesignal\.com\/sdks\/.+\.js)/, 'challenges.fr': /.+\.poool\.fr\/.+/, @@ -150,6 +150,7 @@ var blockedRegexes = { 'sloanreview.mit.edu': /.+\.tinypass\.com\/.+/, 'spectator.co.uk': /.+\.tinypass\.com\/.+/, 'spectator.com.au': /.+\.tinypass\.com\/.+/, +'telegraph.co.uk': /.+\.tinypass\.com\/.+/, 'theadvocate.com.au': /.+cdn-au\.piano\.io\/api\/tinypass.+\.js/, 'thecourier.com.au': /.+cdn-au\.piano\.io\/api\/tinypass.+\.js/, 'thedailybeast.com': /.+\.tinypass\.com\/.+/, diff --git a/sites_custom.json b/sites_custom.json index 7a928d9..3ce9728 100644 --- a/sites_custom.json +++ b/sites_custom.json @@ -1,3 +1,4 @@ { - "——— Custom Sites (updates) ——": "###" -} \ No newline at end of file + "——— Custom Sites (updates) ——": "###", + "WAtoday": "watoday.com.au" +}