mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:41:57 +01:00
Add S&P Global
This commit is contained in:
parent
bdbd9813da
commit
f1d4200377
6 changed files with 30 additions and 1 deletions
|
@ -98,6 +98,7 @@ _* free/cached articles only._
|
|||
[MarketWatch](https://www.marketwatch.com) -
|
||||
[MIT Sloan Management Review](https://sloanreview.mit.edu) -
|
||||
[Quartz](https://qz.com)* -
|
||||
[S&P Global](https://www.spglobal.com) -
|
||||
[Seeking Alpha](https://seekingalpha.com) -
|
||||
[Stock News](https://stocknews.com) -
|
||||
[The Business Journals](https://www.bizjournals.com) -
|
||||
|
|
|
@ -7,6 +7,7 @@ Add iPolitics.ca
|
|||
Add LeNouvelEconomiste.fr
|
||||
Add Muenstersche Zeitung
|
||||
Add NewcastleHerald.com.au
|
||||
Add S&P Global
|
||||
Add Westdeutsche Zeitung
|
||||
Remove HBR Taiwan (fix obsolete)
|
||||
Fix Australian Community Media
|
||||
|
|
|
@ -3161,6 +3161,14 @@ else if (matchDomain('sofrep.com')) {
|
|||
removeDOMElement(...banners);
|
||||
}
|
||||
|
||||
else if (matchDomain('spglobal.com')) {
|
||||
let overlay = document.querySelector('.article__overlay');
|
||||
removeDOMElement(overlay);
|
||||
let html_noscroll = document.querySelector('html[class]');
|
||||
if (html_noscroll)
|
||||
html_noscroll.removeAttribute('class');
|
||||
}
|
||||
|
||||
else if (matchDomain('staradvertiser.com')) {
|
||||
let url = window.location.href.split('?')[0];
|
||||
if (url.endsWith('/amp/')) {
|
||||
|
|
|
@ -499,6 +499,7 @@
|
|||
"*://*.spectator.co.uk/*",
|
||||
"*://*.spectator.com.au/*",
|
||||
"*://*.spectatorworld.com/*",
|
||||
"*://*.spglobal.com/*",
|
||||
"*://*.standard.net.au/*",
|
||||
"*://*.star-telegram.com/*",
|
||||
"*://*.staradvertiser.com/*",
|
||||
|
@ -662,5 +663,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.6.1.4"
|
||||
"version": "2.6.1.5"
|
||||
}
|
||||
|
|
5
sites.js
5
sites.js
|
@ -1383,6 +1383,11 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /\.tinypass\.com\//
|
||||
},
|
||||
"S&P Global": {
|
||||
domain: "spglobal.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.blueconic\.net\//
|
||||
},
|
||||
"San Diego Union Tribune": {
|
||||
domain: "sandiegouniontribune.com",
|
||||
block_regex: /(metering\.platform\.sandiegouniontribune\.com\/v\d\/meter|cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|subscriptions)-.+\.js)/
|
||||
|
|
|
@ -47,6 +47,19 @@
|
|||
},
|
||||
"amp_unhide": 1
|
||||
},
|
||||
"S&P Global": {
|
||||
"domain": "spglobal.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.blueconic\\.net\\/",
|
||||
"cs_code": [{
|
||||
"cond": ".article__overlay",
|
||||
"rm_elem": 1
|
||||
}, {
|
||||
"cond": "html[class]",
|
||||
"rm_attrib": "class"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Westdeutsche Zeitung": {
|
||||
"allow_cookies": 1,
|
||||
"domain": "wz.de",
|
||||
|
|
Loading…
Reference in a new issue