diff --git a/README.md b/README.md index 1f6754b..be2a437 100755 --- a/README.md +++ b/README.md @@ -107,6 +107,7 @@ Visit the [Firefox repository](https://github.com/iamadamdev/bypass-paywalls-fir [The Advocate](https://www.theadvocate.com.au)\ [The Age](https://www.theage.com.au)\ [The American Interest](https://www.the-american-interest.com)\ +[The Athletic](https://theathletic.com)\ [The Atlantic](https://www.theatlantic.com)\ [The Australian Financial Review](https://www.afr.com)\ [The Australian](https://www.theaustralian.com.au)\ diff --git a/background.js b/background.js index 7d5b3e9..80e21c9 100755 --- a/background.js +++ b/background.js @@ -21,6 +21,7 @@ var allow_cookies = [ 'scribd.com', 'techinasia.com', 'the-american-interest.com', +'theathletic.com', 'theaustralian.com.au', 'trouw.nl', 'volkskrant.nl', @@ -63,6 +64,7 @@ const use_google_bot = [ 'theaustralian.com.au', 'themarker.com', 'thetimes.co.uk', +'theathletic.com', 'wsj.com', 'haaretz.co.il', 'haaretz.com', diff --git a/contentScript.js b/contentScript.js index 4810335..ae0ce16 100755 --- a/contentScript.js +++ b/contentScript.js @@ -351,6 +351,17 @@ if (window.location.href.indexOf("newcastleherald.com.au") !== -1) { } } +if (window.location.href.indexOf("sofrep.com") !== -1) { + const banner = document.getElementById('scrollerCTA'); + removeDOMElement(banner); +} + +if (window.location.href.indexOf("theathletic.com") !== -1) { + const banner = document.querySelector('.border-bottom-cc'); + const subscribe = document.querySelector('.subscribe-ad-text'); + removeDOMElement(banner, subscribe); +} + // General Functions function removeDOMElement(...elements) { for (let element of elements) { diff --git a/sites.json b/sites.json index a602cfa..54049d5 100644 --- a/sites.json +++ b/sites.json @@ -58,6 +58,7 @@ "The Advocate": "theadvocate.com.au", "The Age": "theage.com.au", "The American Interest": "the-american-interest.com", + "The Athletic": "theathletic.com", "The Atlantic": "theatlantic.com", "The Australian Financial Review": "afr.com", "The Australian": "theaustralian.com.au", @@ -97,4 +98,4 @@ "Poool.fr": "poool.fr", "TinyPass": "tinypass.com", "Piano.io": "piano.io" -} \ No newline at end of file +}