mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 05:57:48 +01:00
Add StockNews.com
This commit is contained in:
parent
50b0000e2e
commit
45028670c9
6 changed files with 14 additions and 2 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
|
@ -40,5 +40,5 @@
|
||||||
"webRequest",
|
"webRequest",
|
||||||
"webRequestBlocking"
|
"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",
|
"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",
|
||||||
|
|
Loading…
Reference in a new issue