mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 08:27:48 +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
|
Changelog Bypass Paywalls Clean - Firefox
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Fix-update NyTeknik (images)
|
||||||
|
|
||||||
* v2.1.7.0 (2021-04-18)
|
* v2.1.7.0 (2021-04-18)
|
||||||
Add NyTeknik (Sweden)
|
Add NyTeknik (Sweden)
|
||||||
|
|
|
@ -2019,6 +2019,9 @@ else if (matchDomain('nyteknik.se')) {
|
||||||
let locked_article = document.querySelector('div.locked-article');
|
let locked_article = document.querySelector('div.locked-article');
|
||||||
if (locked_article)
|
if (locked_article)
|
||||||
locked_article.classList.remove('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')) {
|
else if (matchDomain('nytimes.com')) {
|
||||||
|
|
|
@ -503,5 +503,5 @@
|
||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://*.wsj.net/*"
|
"*://*.wsj.net/*"
|
||||||
],
|
],
|
||||||
"version": "2.1.7.0"
|
"version": "2.1.7.1"
|
||||||
}
|
}
|
Loading…
Reference in a new issue