Add StockNews.com
This commit is contained in:
parent
0c6c92b277
commit
b4b70530aa
@ -80,6 +80,7 @@ Visit the [Firefox repository](https://bitbucket.org/magnolia1234/bypass-paywall
|
||||
[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)
|
||||
|
||||
|
@ -68,6 +68,7 @@ var allow_cookies = [
|
||||
'seekingalpha.com',
|
||||
'slader.com',
|
||||
'startribune.com',
|
||||
'stocknews.com',
|
||||
'techinasia.com',
|
||||
'the-american-interest.com',
|
||||
'thehindu.com',
|
||||
|
@ -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) {
|
||||
|
@ -211,6 +211,7 @@
|
||||
"*://*.standard.net.au/*",
|
||||
"*://*.startribune.com/*",
|
||||
"*://*.statista.com/*",
|
||||
"*://*.stocknews.com/*",
|
||||
"*://*.sueddeutsche.de/*",
|
||||
"*://*.sun-sentinel.com/*",
|
||||
"*://*.sunshinecoastdaily.com.au/*",
|
||||
@ -297,5 +298,5 @@
|
||||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.8.7.3"
|
||||
"version": "1.8.7.4"
|
||||
}
|
||||
|
@ -21,5 +21,5 @@
|
||||
"page": "options.html"
|
||||
},
|
||||
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
|
||||
"version": "1.8.7.3"
|
||||
"version": "1.8.7.4"
|
||||
}
|
||||
|
1
sites.js
1
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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user