Add SpringerMedizin.de

merge-requests/16/head
magnolia1234 10 months ago
parent 07093694fd
commit b4da397980

@ -588,6 +588,7 @@ Grouped in options:\
[Piqd](https://www.piqd.de) - [Piqd](https://www.piqd.de) -
[Rhein-Zeitung](https://www.rhein-zeitung.de) - [Rhein-Zeitung](https://www.rhein-zeitung.de) -
[Schwäbische Zeitung](https://www.schwaebische.de) - [Schwäbische Zeitung](https://www.schwaebische.de) -
[Springer Medizin](https://www.springermedizin.de) -
[Weltkunst](https://www.weltkunst.de) - [Weltkunst](https://www.weltkunst.de) -
[Westdeutsche Zeitung](https://www.wz.de) [Westdeutsche Zeitung](https://www.wz.de)

@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
Post-release Post-release
Add PourLaScience.fr Add PourLaScience.fr
Add SpringerMedizin.de
Fix Automobilwoche.de (js) Fix Automobilwoche.de (js)
Fix Inc42 (js) Fix Inc42 (js)
Fix MarketWatch (amp-redirect) Fix MarketWatch (amp-redirect)

@ -1122,6 +1122,26 @@ else if (matchDomain('spiegel.de')) {
} }
} }
else if (matchDomain('springermedizin.de')) {
let paywall = document.querySelector('div#pay-wall');
if (paywall) {
removeDOMElement(paywall);
let json_script = getArticleJsonScript();
if (json_script) {
let json = JSON.parse(json_script.text);
if (json) {
let json_text = json.articleBody;
let article = document.querySelector('div > p.intro--paragraph');
if (json_text && article) {
let article_new = document.createElement('p');
article_new.innerText = json_text;
article.parentNode.replaceChild(article_new, article);
}
}
}
}
}
else if (matchDomain(['stuttgarter-nachrichten.de', 'stuttgarter-zeitung.de', 'schwarzwaelder-bote.de']) || matchDomain(de_mhs_custom_domains)) { else if (matchDomain(['stuttgarter-nachrichten.de', 'stuttgarter-zeitung.de', 'schwarzwaelder-bote.de']) || matchDomain(de_mhs_custom_domains)) {
let banner = document.querySelector('div.mod-paywall'); let banner = document.querySelector('div.mod-paywall');
removeDOMElement(banner); removeDOMElement(banner);

@ -51,5 +51,5 @@
"webRequestBlocking", "webRequestBlocking",
"*://*/*" "*://*/*"
], ],
"version": "3.3.2.8" "version": "3.3.2.9"
} }

@ -601,6 +601,7 @@
"*://*.spglobal.com/*", "*://*.spglobal.com/*",
"*://*.spiegel.de/*", "*://*.spiegel.de/*",
"*://*.sportico.com/*", "*://*.sportico.com/*",
"*://*.springermedizin.de/*",
"*://*.standard.co.uk/*", "*://*.standard.co.uk/*",
"*://*.standard.net.au/*", "*://*.standard.net.au/*",
"*://*.star-telegram.com/*", "*://*.star-telegram.com/*",
@ -791,5 +792,5 @@
"*://*.wyleex.com/*", "*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "3.3.2.8" "version": "3.3.2.9"
} }

@ -1937,6 +1937,10 @@ var defaultSites = {
allow_cookies: 1, allow_cookies: 1,
block_regex: /\.blueconic\.net\// block_regex: /\.blueconic\.net\//
}, },
"Springer Medizin": {
domain: "springermedizin.de",
allow_cookies: 1
},
"Star Tribune": { "Star Tribune": {
domain: "startribune.com", domain: "startribune.com",
allow_cookies: 1 allow_cookies: 1

@ -96,6 +96,12 @@
"block_regex": "\\.scientificamerican\\.com\\/api\\/tinypass\\.min\\.js", "block_regex": "\\.scientificamerican\\.com\\/api\\/tinypass\\.min\\.js",
"upd_version": "3.3.1.4" "upd_version": "3.3.1.4"
}, },
"Springer Medizin": {
"domain": "springermedizin.de",
"allow_cookies": 1,
"ld_json": "div#pay-wall|div>p.intro--paragraph",
"upd_version": "3.3.2.9"
},
"Tes Magazine": { "Tes Magazine": {
"domain": "tes.com", "domain": "tes.com",
"remove_cookies_select_drop": ["tg_paywall"], "remove_cookies_select_drop": ["tg_paywall"],

Loading…
Cancel
Save