mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-09-20 04:53:48 +02: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) -
|
||||
[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) {
|
||||
|
|
|
@ -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"
|
||||
}
|
|
@ -40,5 +40,5 @@
|
|||
"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…
Reference in a new issue