mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:07:47 +01:00
Fix-update NyTeknik (images)
This commit is contained in:
parent
c8457fa714
commit
871643bb79
3 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Fix-update NyTeknik (images)
|
||||
|
||||
* v2.1.7.0 (2021-04-18)
|
||||
Add NyTeknik (Sweden)
|
||||
|
|
|
@ -2019,6 +2019,9 @@ else if (matchDomain('nyteknik.se')) {
|
|||
let locked_article = document.querySelector('div.locked-article');
|
||||
if (locked_article)
|
||||
locked_article.classList.remove('locked-article');
|
||||
let hidden_images = document.querySelectorAll('img[src=""][data-proxy-image]');
|
||||
for (let hidden_image of hidden_images)
|
||||
hidden_image.setAttribute('src', hidden_image.getAttribute('data-proxy-image').replace('_320', '_640'));
|
||||
}
|
||||
|
||||
else if (matchDomain('nytimes.com')) {
|
||||
|
|
|
@ -503,5 +503,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.1.7.0"
|
||||
"version": "2.1.7.1"
|
||||
}
|
Loading…
Reference in a new issue