mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-12 01:10:24 +00:00
Add TagesAnzeiger.ch (link to archive.is)
This commit is contained in:
parent
655caa2707
commit
fdf81a9429
@ -750,6 +750,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
|
||||
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||
Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||
|
||||
Post-release
|
||||
Add TagesAnzeiger.ch (link to archive.is)
|
||||
Fix BusinessPost.ie (json)
|
||||
Fix The Spectator World (new domain)
|
||||
Fix TownNews sites (js)
|
||||
|
@ -825,6 +825,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');
|
||||
|
@ -51,5 +51,5 @@
|
||||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.1.1.2"
|
||||
"version": "3.1.1.3"
|
||||
}
|
||||
|
@ -583,6 +583,7 @@
|
||||
"*://*.suomensotilas.fi/*",
|
||||
"*://*.svz.de/*",
|
||||
"*://*.syracuse.com/*",
|
||||
"*://*.tagesanzeiger.ch/*",
|
||||
"*://*.tagesspiegel.de/*",
|
||||
"*://*.tampabay.com/*",
|
||||
"*://*.techinasia.com/*",
|
||||
@ -744,5 +745,5 @@
|
||||
"*://*.wallkit.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.1.1.2"
|
||||
"version": "3.1.1.3"
|
||||
}
|
||||
|
5
sites.js
5
sites.js
@ -1772,6 +1772,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,
|
||||
|
@ -50,6 +50,14 @@
|
||||
"block_regex": "(\\.poool\\.fr\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
|
||||
"cs_code": "[{\"cond\":\".amorce\",\"rm_elem\":1},{\"cond\":\".user-paying-content\",\"rm_attrib\":\"class|hidden\"}]"
|
||||
},
|
||||
"TagesAnzeiger.ch (link to archive.is)": {
|
||||
"domain": "tagesanzeiger.ch",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.piano\\.io\\/xbuilder\\/experience\\/execute",
|
||||
"add_ext_link": "div#piano-premium > div|article p",
|
||||
"add_ext_link_type": "archive.is",
|
||||
"new_site": 1
|
||||
},
|
||||
"The Art Newspaper": {
|
||||
"domain": "theartnewspaper.com",
|
||||
"allow_cookies": 1,
|
||||
|
Loading…
Reference in New Issue
Block a user