mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:31:57 +01:00
Add TagesAnzeiger.ch (link to archive.is)
This commit is contained in:
parent
670d2c2deb
commit
ed5fb70cc2
5 changed files with 19 additions and 0 deletions
|
@ -722,6 +722,7 @@ Grouped in options:\
|
|||
[Beobachter](https://www.beobachter.ch) -
|
||||
[Handelszeitung](https://www.handelszeitung.ch) -
|
||||
[Neue Zürcher Zeitung (+ regional/CH Media; opt-in to custom sites)](https://www.nzz.ch) -
|
||||
[Tages-Anzeiger (link to archive.is)](https://www.tagesanzeiger.ch) -
|
||||
[The Market](https://themarket.ch)
|
||||
|
||||
##### Australia/New Zealand
|
||||
|
|
|
@ -4,6 +4,7 @@ Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/release
|
|||
|
||||
Post-release
|
||||
Add DHnet.be
|
||||
Add TagesAnzeiger.ch (link to archive.is)
|
||||
Remove Finance.si (fix obsolete)
|
||||
Update block general paywall script (FewCents)
|
||||
|
||||
|
|
|
@ -873,6 +873,17 @@ else if (matchDomain('sueddeutsche.de')) {
|
|||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('tagesanzeiger.ch')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('div#piano-premium > div');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall.parentNode);
|
||||
let article = document.querySelector('article p');
|
||||
if (article)
|
||||
article.firstChild.before(archiveLink(url));
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('tagesspiegel.de')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('div.article--paid > div');
|
||||
|
|
|
@ -578,6 +578,7 @@
|
|||
"*://*.suomensotilas.fi/*",
|
||||
"*://*.svz.de/*",
|
||||
"*://*.syracuse.com/*",
|
||||
"*://*.tagesanzeiger.ch/*",
|
||||
"*://*.tagesspiegel.de/*",
|
||||
"*://*.tampabay.com/*",
|
||||
"*://*.techinasia.com/*",
|
||||
|
|
5
sites.js
5
sites.js
|
@ -1747,6 +1747,11 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /\/suomensotilas\.fi\/wp-content\/plugins\/epflpw\/js\/pw\.js/
|
||||
},
|
||||
"TagesAnzeiger.ch (link to archive.is)": {
|
||||
domain: "tagesanzeiger.ch",
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.piano\.io\/xbuilder\/experience\/execute/
|
||||
},
|
||||
"Tampa Bay Times": {
|
||||
domain: "tampabay.com",
|
||||
allow_cookies: 1,
|
||||
|
|
Loading…
Reference in a new issue