Add Tagesspiegel.de

This commit is contained in:
magnolia1234 2023-11-22 08:39:34 +01:00
parent 747d1d36cc
commit 976ef9ce8c
10 changed files with 29 additions and 79 deletions

View file

@ -597,6 +597,7 @@ Grouped in options:\
[Börsen-Zeitung](https://www.boersen-zeitung.de) -
[Cicero](https://www.cicero.de) -
[Der Spiegel (link to archive.is)](https://www.spiegel.de) -
[Der Tagesspiegel (link to archive.is)](https://www.tagesspiegel.de) -
[Die Welt (link to archive.is)](https://www.welt.de) -
[Die Zeit (link to archive.is)](https://www.zeit.de) -
[Frankfurter Allgemeine Zeitung](https://www.faz.net) -

View file

@ -38,6 +38,7 @@ var restrictions = {
'quora.com': /^((?!quora\.com\/search\?q=).)*$/,
'seekingalpha.com': /\/seekingalpha\.com($|\/($|(amp\/)?(article|news)\/|samw\/))/,
'statista.com': /^((?!\.statista\.com\/study\/).)*$/,
'tagesspiegel.de': /^((?!\/(background|checkpoint)\.tagesspiegel\.de\/).)*$/,
'techinasia.com': /\.techinasia\.com\/.+/,
'theatlantic.com': /^((?!\/newsletters\.theatlantic\.com\/).)*$/,
'thetimes.co.uk': /^((?!epaper\.thetimes\.co\.uk).)*$/,

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Add Tagesspiegel.de (link to archive.is)
Fix The Hill Times (ld_json_url)
Update popup (fix toggle for custom flex sites)

View file

@ -1178,6 +1178,17 @@ else if (matchDomain('sueddeutsche.de')) {
}
}
else if (matchDomain('tagesspiegel.de')) {
let url = window.location.href;
let paywall = document.querySelector('div#paywal, div#pw');
if (paywall) {
removeDOMElement(paywall);
let article = document.querySelector('div.article--paid, div.tslr-article > p');
if (article)
article.firstChild.before(archiveLink(url));
}
}
else if (matchDomain('vn.at')) {
if (window.location.href.match(/\.vn\.at\/.+\/\d{4}\//)) {
let paywall = document.querySelector('div.paywalled-content');

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.4.3.2"
"version": "3.4.3.3"
}

View file

@ -681,12 +681,6 @@
"block_regex": "\\.tinypass\\.com",
"domain": "supchina.com"
},
"Tagesspiegel.de": {
"add_ext_link": "div#paywal|div.article--paid",
"add_ext_link_type": "archive.is",
"allow_cookies": 1,
"domain": "tagesspiegel.de"
},
"Taxscan.in": {
"allow_cookies": 1,
"domain": "taxscan.in",

View file

@ -637,6 +637,7 @@
"*://*.svz.de/*",
"*://*.swarajyamag.com/*",
"*://*.syracuse.com/*",
"*://*.tagesspiegel.de/*",
"*://*.tampabay.com/*",
"*://*.techinasia.com/*",
"*://*.technologyreview.com/*",
@ -815,5 +816,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.4.3.2"
"version": "3.4.3.3"
}

View file

@ -481,6 +481,10 @@ var defaultSites = {
domain: "spiegel.de",
allow_cookies: 1
},
"Der Tagesspiegel (link to archive.is/not background/checkpoint)": {
domain: "tagesspiegel.de",
allow_cookies: 1
},
"Deutscher Fachverlag Mediengruppe (opt-in to custom sites)": {
domain: "###_de_dfv_medien",
group: [],
@ -2888,4 +2892,4 @@ var de_rp_aachen_medien_nofix_domains = ['aachener-nachrichten.de', 'aachener-ze
var fr_indigo_nofix_domains = ['africaintelligence.com', 'africaintelligence.fr', 'glitz.paris', 'intelligenceonline.com', 'intelligenceonline.fr', 'lalettre.fr'];
var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'ilsecoloxix.it', 'limesonline.com', 'repubblica.it'];
var nl_mediahuis_region_nofix_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
var nofix_sites = ['aamulehti.fi', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'asahi.com', 'asiatimes.com', 'autosport.com', 'aviationweek.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'businessgreen.com', 'businessinsider.de', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'codesports.com.au', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'diepresse.com', 'dn.no', 'dn.se', 'elordenmundial.com', 'entrepreneur.com', 'epw.in', 'expresso.pt', 'falter.at', 'finance.si', 'ftchinese.com', 'gamestar.de', 'geo.de', 'golem.de', 'handelsblatt.com', 'hbrchina.org', 'heise.de', 'hln.be', 'hs.fi', 'ilsole24ore.com', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobin.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lequipe.fr', 'lesjours.fr', 'liberation.fr', 'limburger.nl', 'mainpost.de', 'manager-magazin.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'moodys.com', 'morningstar.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newslaundry.com', 'nn.de', 'observador.pt', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'schwarzwaelder-bote.de', 'sciencedirect.com', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'suedkurier.de', 'swp.de', 'tagesspiegel.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'vosgesmatin.fr', 'weltwoche.ch', 'weltwoche.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(be_mediahuis_nofix_domains, de_rp_aachen_medien_nofix_domains, fr_indigo_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains);
var nofix_sites = ['aamulehti.fi', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'asahi.com', 'asiatimes.com', 'autosport.com', 'aviationweek.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'businessgreen.com', 'businessinsider.de', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'codesports.com.au', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'diepresse.com', 'dn.no', 'dn.se', 'elordenmundial.com', 'entrepreneur.com', 'epw.in', 'expresso.pt', 'falter.at', 'finance.si', 'ftchinese.com', 'gamestar.de', 'geo.de', 'golem.de', 'handelsblatt.com', 'hbrchina.org', 'heise.de', 'hln.be', 'hs.fi', 'ilsole24ore.com', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobin.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lequipe.fr', 'lesjours.fr', 'liberation.fr', 'limburger.nl', 'mainpost.de', 'manager-magazin.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'moodys.com', 'morningstar.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newslaundry.com', 'nn.de', 'observador.pt', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'schwarzwaelder-bote.de', 'sciencedirect.com', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'suedkurier.de', 'swp.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'vosgesmatin.fr', 'weltwoche.ch', 'weltwoche.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(be_mediahuis_nofix_domains, de_rp_aachen_medien_nofix_domains, fr_indigo_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains);

View file

@ -12,12 +12,12 @@
"block_regex": "(\\.cm\\.bloomberg\\.com\\/|assets\\.bwbx\\.io\\/s\\d\\/javelin\\/.+\\/transporter\\/)",
"upd_version": "3.2.7.1"
},
"Bulletin of the Atomic Scientists": {
"domain": "thebulletin.org",
"Der Tagesspiegel": {
"domain": "tagesspiegel.de",
"allow_cookies": 1,
"block_regex": "\\.tinypass\\.com\\/",
"ld_json_url": "div.article--cropped|div#body-copy|1",
"upd_version": "3.4.0.7"
"add_ext_link": "div#paywal,div#pw|div.article--paid,div.tslr-article>p",
"add_ext_link_type": "archive.is",
"upd_version": "3.4.3.3"
},
"Die Welt": {
"domain": "welt.de",
@ -26,21 +26,6 @@
"add_ext_link_type": "archive.is",
"upd_version": "3.4.2.4"
},
"El País": {
"domain": "elpais.com",
"allow_cookies": 1,
"block_js_inline": "\\.elpais\\.com\\/.+\\.html",
"block_regex": "(\\/elpais\\.com\\/arc\\/subs\\/p\\.min\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
"cs_code": "[{\"cond\":\"div.a_b_wall\", \"rm_attrib\":\"class\"}]",
"upd_version": "3.4.0.5"
},
"Epoch.org.il": {
"domain": "epoch.org.il",
"allow_cookies": 1,
"block_js_inline": "\\/epoch\\.org\\.il\\/",
"ld_json_url": "div.register-login-box|div.m-article>div.paywall",
"upd_version": "3.4.0.8"
},
"Freie Presse": {
"domain": "freiepresse.de",
"allow_cookies": 1,
@ -82,27 +67,6 @@
"useragent": "googlebot",
"upd_version": "3.4.2.7"
},
"L'Opinion": {
"domain": "lopinion.fr",
"allow_cookies": 1,
"useragent": "googlebot",
"upd_version": "3.4.0.6"
},
"Le Figaro (link to archive.is)": {
"domain": "lefigaro.fr",
"allow_cookies": 1,
"add_ext_link": "div#fig-premium-paywall|div.fig-content-body",
"add_ext_link_type": "archive.is",
"upd_version": "3.4.0.4"
},
"Le Monde (link to archive.is)": {
"domain": "lemonde.fr",
"allow_cookies": 1,
"add_ext_link": "section.paywall|article",
"add_ext_link_type": "archive.is",
"cs_code": "[{\"cond\":\"section.article__content--restricted-media\", \"rm_class\":\"article__content--restricted-media\"}]",
"upd_version": "3.4.0.4"
},
"Lee Enterprises Group": {
"domain": "###_usa_lee_ent",
"group": [
@ -128,12 +92,6 @@
"cs_code": "[{\"cond\":\"div.paywall\", \"rm_attrib\":\"class|style\"}]",
"upd_version": "3.4.2.8"
},
"Schweizer Monat": {
"domain": "schweizermonat.ch",
"allow_cookies": 1,
"ld_json_url": "div.entry-paywall-login|div.entry-main > div.entry__post-content",
"upd_version": "3.4.0.7"
},
"South China Morning Post": {
"domain": "scmp.com",
"allow_cookies": 1,
@ -141,15 +99,6 @@
"cs_code": "[{\"cond\":\"div.paywalled-content\", \"rm_attrib\":\"class\"}]",
"upd_version": "3.4.2.5"
},
"Süddeutsche Zeitung (link to archive.is)": {
"domain": "sueddeutsche.de",
"allow_cookies": 1,
"add_ext_link": "div#sz-paywall|div.article-content,div.text",
"add_ext_link_type": "archive.is",
"block_regex": "\\.sueddeutsche\\.de\\/api\\/tinypass\\.min\\.js",
"cs_code": "[{\"cond\":\"p.sz-article-body__paragraph--reduced\", \"rm_class\":\"sz-article-body__paragraph--reduced\"}]",
"upd_version": "3.4.0.5"
},
"The Diplomat (refresh magazine)": {
"domain": "thediplomat.com",
"useragent": "facebookbot",
@ -162,12 +111,6 @@
"cs_code": "[{\"cond\":\"div.paywall\", \"rm_elem\": 1, \"elems\":[{\"cond\":\"svelte-scroller-outer\", \"rm_elem\": 1}, {\"cond\":\"body > style\", \"rm_elem\": 1}]}]",
"upd_version": "3.2.7.6"
},
"The Epoch Times": {
"domain": "theepochtimes.com",
"allow_cookies": 1,
"block_regex": "subs\\.theepochtimes\\.com\\/rules\\/get",
"upd_version": "3.4.0.8"
},
"The Globe and Mail": {
"domain": "theglobeandmail.com",
"block_js_inline": "\\.theglobeandmail\\.com\\/.+\\/article-.+\\?rel=premium",
@ -175,12 +118,6 @@
"cs_code": "[{\"cond\":\"html.no-js\", \"rm_class\":\"no-js\"}]",
"upd_version": "3.4.1.7"
},
"The Impression": {
"domain": "theimpression.com",
"allow_cookies": 1,
"cs_code": "[{\"cond\":\"div#modalpostsubscribe\", \"rm_elem\":1, \"elems\":[{\"cond\":\"div.blureffect\", \"rm_class\":\"blureffect\"}]}]",
"upd_version": "3.4.0.2"
},
"The New York Times": {
"domain": "nytimes.com",
"allow_cookies": 1,

View file

@ -2,8 +2,8 @@
"addons": {
"magnolia@12.34": {
"updates": [
{ "version": "3.4.2.0",
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.4.2.0.xpi" }
{ "version": "3.4.3.0",
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.4.3.0.xpi" }
]
}
}