mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-09-20 03:21:07 +02:00
Add Süddeutsche Zeitung (amp for plus)
This commit is contained in:
parent
af350e41a9
commit
0fcc51486d
4 changed files with 13 additions and 1 deletions
|
@ -190,7 +190,8 @@ Install add-on by downloading xpi-file.
|
|||
[Valeurs Actuelles](https://www.valeursactuelles.com)
|
||||
##### Germany/Austria
|
||||
[Frankfurter Allgemeine Zeitung](https://www.faz.net) -
|
||||
[Handelsblatt](https://www.handelsblatt.com)
|
||||
[Handelsblatt](https://www.handelsblatt.com) -
|
||||
[Süddeutsche Zeitung](https://www.sueddeutsche.de)
|
||||
##### Italy
|
||||
[Corriere Della Sera](https://www.corriere.it) -
|
||||
[Il Fatto Quotidiano](https://www.ilfattoquotidiano.it) -
|
||||
|
|
|
@ -863,6 +863,15 @@ else if (matchDomain("irishtimes.com")) {
|
|||
});
|
||||
}
|
||||
|
||||
else if (matchDomain("sueddeutsche.de")) {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
let reduced_par = document.querySelector('div.sz-article-body__paragraph--reduced');
|
||||
let url = window.location.href;
|
||||
if (url.includes('reduced=true') || reduced_par)
|
||||
window.location.href = url.split('?')[0].replace('www.', 'amphtml.');
|
||||
});
|
||||
}
|
||||
|
||||
// General Functions
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
|
|
@ -201,6 +201,7 @@
|
|||
"*://*.spectator.com.au/*",
|
||||
"*://*.standard.net.au/*",
|
||||
"*://*.statista.com/*",
|
||||
"*://*.sueddeutsche.de/*",
|
||||
"*://*.sun-sentinel.com/*",
|
||||
"*://*.switzersuperreport.com.au/*",
|
||||
"*://*.techinasia.com/*",
|
||||
|
|
1
sites.js
1
sites.js
|
@ -129,6 +129,7 @@ var defaultSites =
|
|||
"Slader": "slader.com",
|
||||
"SOFREP": "sofrep.com",
|
||||
"Statista": "statista.com",
|
||||
"Süddeutsche Zeitung": "sueddeutsche.de",
|
||||
"SunSentinel": "sun-sentinel.com",
|
||||
"Switzer Report": "switzersuperreport.com.au",
|
||||
"Tech in Asia": "techinasia.com",
|
||||
|
|
Loading…
Reference in a new issue