mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Fix Tagesspiegel.de (css)
This commit is contained in:
parent
4b3600faaf
commit
a9a051f5a8
@ -6,11 +6,11 @@ Add Limburger.nl
|
||||
Add Standaard.be
|
||||
Add Substack
|
||||
Add SuomenSotilas.fi
|
||||
Add Tagesspiegel.de
|
||||
Add Welt.de
|
||||
Add Wiwo.de
|
||||
Fix Australian Community Media (css)
|
||||
Fix Spiegel.de (Google webcache)
|
||||
Add Tagesspiegel.de
|
||||
Fix The Athletic (css & amp)
|
||||
Fix TheTimes.co.uk (Google webcache)
|
||||
Grouping DPG Media (not ADR)
|
||||
|
@ -731,12 +731,17 @@ else if (matchDomain('spiegel.de')) {
|
||||
|
||||
else if (matchDomain('tagesspiegel.de')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('div.Rc6, .ts-paywall-blurred');
|
||||
let paywall = document.querySelector('div.article--paid > div, .ts-paywall-blurred');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
csDoneOnce = true;
|
||||
let url_cache = 'https://webcache.googleusercontent.com/search?q=cache:' + url.split('?')[0];
|
||||
replaceDomElementExt(url_cache, true, false, 'div.Af, [class*="ts-paywall"]');
|
||||
replaceDomElementExt(url_cache, true, false, 'article, [class*="ts-paywall"]');
|
||||
window.setTimeout(function () {
|
||||
let ads = document.querySelectorAll('div[data-mobile-id]');
|
||||
for (let elem of ads)
|
||||
removeDOMElement(elem.parentNode);
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user