From d7e581bbed7b171f4d0e18c5931a4ae770038377 Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Mon, 2 Aug 2021 09:57:20 -0500 Subject: [PATCH] Load full-sized image --- DuckDuckGo Images Slideshow.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DuckDuckGo Images Slideshow.user.js b/DuckDuckGo Images Slideshow.user.js index 92c8c52..bba0b90 100644 --- a/DuckDuckGo Images Slideshow.user.js +++ b/DuckDuckGo Images Slideshow.user.js @@ -100,7 +100,7 @@ lbimg.style.height = ''; lbimg.style.width = '100%' } - lbimg.src = allimages[idx].src; + lbimg.src = allimages[idx].attributes.getNamedItem('data-src').nodeValue; imgCounter.innerText = "Image " + idx + " / " + imgcount; timer = setTimeout(() => showImage(++idx), imageTime); } @@ -205,4 +205,4 @@ } return stopProp; }); -})(); \ No newline at end of file +})();