Fix Automobilwoche

This commit is contained in:
magnolia1234 2022-06-28 17:48:17 +02:00
parent 75fe7cb022
commit 24835e5e97
4 changed files with 17 additions and 1 deletions

View File

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add BQ Prime (former Bloomberg Quint)
Remove Deutsche Wirtschafts Nachrichten (fix obsolete)
Fix Automobilwoche
Fix Financial Times (cookie-banner)
Fix Groupe SudOuest.fr
Fix Knack.be & LeVif.be

View File

@ -446,6 +446,16 @@ else if (matchDomain('augsburger-allgemeine.de')) {
}
}
else if (matchDomain('automobilwoche.de')) {
let lazy_images = document.querySelectorAll('img.lazy[data-src]');
for (let lazy_image of lazy_images) {
lazy_image.src = lazy_image.getAttribute('data-src');
lazy_image.removeAttribute('class');
}
let lazy_sources = document.querySelectorAll('source[srcset^="data:image"]');
removeDOMElement(...lazy_sources);
}
else if (matchDomain('berliner-zeitung.de')) {
let url = window.location.href;
let paywall = document.querySelector('.paywall-dialog-box');

View File

@ -166,7 +166,7 @@ var defaultSites = {
"Automobilwoche": {
domain: "automobilwoche.de",
allow_cookies: 1,
block_regex: /\.amazonaws\.com\/s3fs-public\/js\/js_.+\.js/
block_regex: /\.automobilwoche\.de\/s3fs-public\/js\/js_.+\.js/
},
"Badische Neueste Nachrichten": {
allow_cookies: 1,

View File

@ -3,6 +3,11 @@
"domain": "artforum.com",
"new_site": 1
},
"Automobilwoche": {
"domain": "automobilwoche.de",
"allow_cookies": 1,
"block_regex": "\\.automobilwoche\\.de\\/s3fs-public\\/js\\/js_.+\\.js"
},
"BQ Prime": {
"domain": "bqprime.com",
"allow_cookies": 1,