diff --git a/changelog.txt b/changelog.txt index b43194d..7d5b229 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) diff --git a/contentScript.js b/contentScript.js index 9177853..079109d 100644 --- a/contentScript.js +++ b/contentScript.js @@ -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')) { diff --git a/manifest.json b/manifest.json index 3a16f31..b7bddd5 100644 --- a/manifest.json +++ b/manifest.json @@ -503,5 +503,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.1.7.0" + "version": "2.1.7.1" } \ No newline at end of file