diff --git a/README.md b/README.md index 4bcc763..128b49c 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ So don't update to Firefox 79 or use F-droid's [Fennec-release](https://f-droid. [Modern Healthcare](https://www.modernhealthcare.com) - [Quartz](https://qz.com)* - [Seeking Alpha](https://seekingalpha.com) - +[Stock News](https://stocknews.com) - [The Business Journals](https://www.bizjournals.com) - [The Wall Street Journal](https://www.wsj.com) diff --git a/background.js b/background.js index 21c423b..4bea9c8 100644 --- a/background.js +++ b/background.js @@ -68,6 +68,7 @@ var allow_cookies = [ 'seekingalpha.com', 'slader.com', 'startribune.com', +'stocknews.com', 'techinasia.com', 'the-american-interest.com', 'thehindu.com', diff --git a/contentScript.js b/contentScript.js index 976e281..8bce771 100644 --- a/contentScript.js +++ b/contentScript.js @@ -1120,6 +1120,14 @@ else if (matchDomain("timeshighereducation.com")) { } } +else if (matchDomain("stocknews.com")) { + let hideme = document.querySelector('div#hideme'); + removeDOMElement(hideme); + let blurmes = document.querySelectorAll('div[id^="blurme"]'); + for (let i = 0; i < blurmes.length; i++) + blurmes[i].setAttribute('id', 'blurmenot' + i); +} + // General Functions function removeDOMElement(...elements) { for (let element of elements) { diff --git a/lp/manifest.json b/lp/manifest.json index c77f4bb..1cce509 100644 --- a/lp/manifest.json +++ b/lp/manifest.json @@ -223,6 +223,7 @@ "*://*.standard.net.au/*", "*://*.startribune.com/*", "*://*.statista.com/*", + "*://*.stocknews.com/*", "*://*.sueddeutsche.de/*", "*://*.sun-sentinel.com/*", "*://*.sunshinecoastdaily.com.au/*", @@ -310,5 +311,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.8.7.3" + "version": "1.8.7.4" } \ No newline at end of file diff --git a/manifest.json b/manifest.json index 1c68d3d..de64826 100644 --- a/manifest.json +++ b/manifest.json @@ -40,5 +40,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.8.7.3" + "version": "1.8.7.4" } \ No newline at end of file diff --git a/sites.js b/sites.js index 7788b76..9a561fb 100644 --- a/sites.js +++ b/sites.js @@ -143,6 +143,7 @@ var defaultSites = "South China Morning Post": "scmp.com", "Star Tribune": "startribune.com", "Statista": "statista.com", + "Stock News": "stocknews.com", "Süddeutsche Zeitung": "sueddeutsche.de", "SunSentinel": "sun-sentinel.com", "Tech in Asia": "techinasia.com",