From 95a32bc7c129938690c7b1fc19d7ac061eef18c6 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Thu, 18 Nov 2021 18:17:44 +0100 Subject: [PATCH] Add Code Sports (Australia) --- README.md | 1 + changelog.txt | 1 + contentScript.js | 2 +- manifest.json | 3 ++- sites.js | 1 + sites_updated.json | 5 +++++ 6 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d7bcb363..c173ea67 100644 --- a/README.md +++ b/README.md @@ -536,6 +536,7 @@ Grouped in options:\ Grouped in options:\ *News Corp Australia* site like\ [Cairns Post](https://www.cairnspost.com.au) - +[Code Sports](https://www.codesports.com.au) - [Geelong Advertiser](https://www.geelongadvertiser.com.au) - [Gold Coast Bulletin](https://www.goldcoastbulletin.com.au) - [Herald Sun](https://www.heraldsun.com.au) - diff --git a/changelog.txt b/changelog.txt index 9c95cc8f..add221bd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Advance Local (local USA) +Add Code Sports (Australia) Add Italian.tech Add Spectator World Fix Medium (faster) diff --git a/contentScript.js b/contentScript.js index 1a088923..83b9e07a 100644 --- a/contentScript.js +++ b/contentScript.js @@ -163,7 +163,7 @@ else { removeDOMElement(story_generic_iframe, blocker); } else if (window.location.hostname.endsWith('.com.au')) { // Australia News Corp - let au_nc_sites = ['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']; + let au_nc_sites = ['adelaidenow.com.au', 'cairnspost.com.au', 'codesports.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']; if (domain = matchDomain(au_nc_sites)) { let header_ads = document.querySelector('.header_ads-container'); removeDOMElement(header_ads); diff --git a/manifest.json b/manifest.json index c215198d..d1d1c8c7 100644 --- a/manifest.json +++ b/manifest.json @@ -117,6 +117,7 @@ "*://*.clarin.com/*", "*://*.cleveland.com/*", "*://*.cmjornal.pt/*", + "*://*.codesports.com.au/*", "*://*.commentary.org/*", "*://*.corriere.it/*", "*://*.corriereadriatico.it/*", @@ -569,5 +570,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.4.4.3" + "version": "2.4.4.4" } \ No newline at end of file diff --git a/sites.js b/sites.js index ddb177ca..762e9fce 100644 --- a/sites.js +++ b/sites.js @@ -113,6 +113,7 @@ var defaultSites = { group: [ "adelaidenow.com.au", "cairnspost.com.au", + "codesports.com.au", "couriermail.com.au", "dailytelegraph.com.au", "geelongadvertiser.com.au", diff --git a/sites_updated.json b/sites_updated.json index 0dd6b5c9..4de47329 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -1,4 +1,9 @@ { + "Code Sports": { + "domain": "codesports.com.au", + "allow_cookies": 1, + "useragent": "googlebot" + }, "Italian.tech": { "domain": "italian.tech", "group_rule": "###_gr_it_repubblica_domains"