mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:57:48 +01:00
Fix Automobilwoche
This commit is contained in:
parent
75fe7cb022
commit
24835e5e97
4 changed files with 17 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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');
|
||||
|
|
2
sites.js
2
sites.js
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue