mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:51:58 +01:00
Fix Tagesspiegel.de (background)
This commit is contained in:
parent
9e236d98b1
commit
ebe4de4271
6 changed files with 36 additions and 4 deletions
|
@ -35,7 +35,6 @@ 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).)*$/,
|
||||
|
|
|
@ -8,6 +8,7 @@ Add Jacobin.de
|
|||
Add Substack (link to Google Search Tool; opt-in to custom sites for custom domains)
|
||||
Fix Berlingske.dk
|
||||
Fix NYTimes
|
||||
Fix Tagesspiegel.de (background; link to Google Search Tool)
|
||||
Remove Zeit.de (fix obsolete)
|
||||
Update block general paywall script (Ippen.space)
|
||||
Update popup (12ft.io)
|
||||
|
|
|
@ -913,12 +913,20 @@ else if (matchDomain('tagesanzeiger.ch')) {
|
|||
|
||||
else if (matchDomain('tagesspiegel.de')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('div.article--paid > div');
|
||||
let paywall = document.querySelector('div.article--paid > div:not([id])');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
let article = document.querySelector('div.article--paid');
|
||||
if (article)
|
||||
article.firstChild.before(archiveLink(url));
|
||||
} else {
|
||||
paywall = document.querySelector('section.ts-paywall, div#pw');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
let article = document.querySelector('main p');
|
||||
if (article)
|
||||
article.firstChild.before(googleSearchToolLink(url));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.1.3.5"
|
||||
"version": "3.1.3.6"
|
||||
}
|
||||
|
|
|
@ -228,6 +228,12 @@
|
|||
"domain": "lagazettedescommunes.com",
|
||||
"useragent": "googlebot"
|
||||
},
|
||||
"Lemonde.fr": {
|
||||
"add_ext_link": "section.paywall|article",
|
||||
"add_ext_link_type": "google_search_tool",
|
||||
"allow_cookies": 1,
|
||||
"domain": "lemonde.fr"
|
||||
},
|
||||
"Libraryjournal.com": {
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.libraryjournal.com\\.com\\/.+\\/js\\/metering\\.js",
|
||||
|
@ -266,6 +272,12 @@
|
|||
"Marketscreener.com (only free articles)": {
|
||||
"domain": "marketscreener.com"
|
||||
},
|
||||
"Mediapart.fr": {
|
||||
"add_ext_link": "div#paywall_no_variance|main",
|
||||
"add_ext_link_type": "google_search_tool",
|
||||
"allow_cookies": 1,
|
||||
"domain": "mediapart.fr"
|
||||
},
|
||||
"Medpagetoday.com": {
|
||||
"allow_cookies": 1,
|
||||
"domain": "medpagetoday.com",
|
||||
|
@ -437,6 +449,12 @@
|
|||
"block_regex": "\\.thefashionlaw\\.com\\/evolok\\/.+\\/ev-widgets\\.min\\.js",
|
||||
"domain": "thefashionlaw.com"
|
||||
},
|
||||
"Theinformation.com": {
|
||||
"add_ext_link": "div[data-paywall]|div.locked",
|
||||
"add_ext_link_type": "google_search_tool",
|
||||
"allow_cookies": 1,
|
||||
"domain": "theinformation.com"
|
||||
},
|
||||
"Themonthly.com.au": {
|
||||
"domain": "themonthly.com.au"
|
||||
},
|
||||
|
@ -476,6 +494,12 @@
|
|||
"block_regex": "\\.tinypass\\.com",
|
||||
"domain": "washingtontimes.com"
|
||||
},
|
||||
"Welt.de": {
|
||||
"add_ext_link": "div.contains_walled_content|article",
|
||||
"add_ext_link_type": "google_search_tool",
|
||||
"allow_cookies": 1,
|
||||
"domain": "welt.de"
|
||||
},
|
||||
"Wuv.de": {
|
||||
"allow_cookies": 1,
|
||||
"domain": "wuv.de",
|
||||
|
|
|
@ -753,5 +753,5 @@
|
|||
"*://html.onlineviewer.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.1.3.5"
|
||||
"version": "3.1.3.6"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue