Add StockNews.com

This commit is contained in:
magnolia1234 2020-09-26 17:27:41 +02:00
parent 50b0000e2e
commit 45028670c9
6 changed files with 14 additions and 2 deletions

View file

@ -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) - [Modern Healthcare](https://www.modernhealthcare.com) -
[Quartz](https://qz.com)* - [Quartz](https://qz.com)* -
[Seeking Alpha](https://seekingalpha.com) - [Seeking Alpha](https://seekingalpha.com) -
[Stock News](https://stocknews.com) -
[The Business Journals](https://www.bizjournals.com) - [The Business Journals](https://www.bizjournals.com) -
[The Wall Street Journal](https://www.wsj.com) [The Wall Street Journal](https://www.wsj.com)

View file

@ -68,6 +68,7 @@ var allow_cookies = [
'seekingalpha.com', 'seekingalpha.com',
'slader.com', 'slader.com',
'startribune.com', 'startribune.com',
'stocknews.com',
'techinasia.com', 'techinasia.com',
'the-american-interest.com', 'the-american-interest.com',
'thehindu.com', 'thehindu.com',

View file

@ -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 // General Functions
function removeDOMElement(...elements) { function removeDOMElement(...elements) {
for (let element of elements) { for (let element of elements) {

View file

@ -223,6 +223,7 @@
"*://*.standard.net.au/*", "*://*.standard.net.au/*",
"*://*.startribune.com/*", "*://*.startribune.com/*",
"*://*.statista.com/*", "*://*.statista.com/*",
"*://*.stocknews.com/*",
"*://*.sueddeutsche.de/*", "*://*.sueddeutsche.de/*",
"*://*.sun-sentinel.com/*", "*://*.sun-sentinel.com/*",
"*://*.sunshinecoastdaily.com.au/*", "*://*.sunshinecoastdaily.com.au/*",
@ -310,5 +311,5 @@
"webRequest", "webRequest",
"webRequestBlocking" "webRequestBlocking"
], ],
"version": "1.8.7.3" "version": "1.8.7.4"
} }

View file

@ -40,5 +40,5 @@
"webRequest", "webRequest",
"webRequestBlocking" "webRequestBlocking"
], ],
"version": "1.8.7.3" "version": "1.8.7.4"
} }

View file

@ -143,6 +143,7 @@ var defaultSites =
"South China Morning Post": "scmp.com", "South China Morning Post": "scmp.com",
"Star Tribune": "startribune.com", "Star Tribune": "startribune.com",
"Statista": "statista.com", "Statista": "statista.com",
"Stock News": "stocknews.com",
"Süddeutsche Zeitung": "sueddeutsche.de", "Süddeutsche Zeitung": "sueddeutsche.de",
"SunSentinel": "sun-sentinel.com", "SunSentinel": "sun-sentinel.com",
"Tech in Asia": "techinasia.com", "Tech in Asia": "techinasia.com",