From a91831ee701ffc17c4856e2a33596b65903eb3df Mon Sep 17 00:00:00 2001 From: blankie Date: Mon, 28 Aug 2023 22:22:52 +1000 Subject: [PATCH] Update Image Loader Placeholder Remover to 1.17.1 - Fix oversensitive image URL finder --- Image Loader Placeholder Remover.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Image Loader Placeholder Remover.user.js b/Image Loader Placeholder Remover.user.js index 4e14b89..32d9c95 100644 --- a/Image Loader Placeholder Remover.user.js +++ b/Image Loader Placeholder Remover.user.js @@ -3,7 +3,7 @@ // @namespace blankie-scripts // @match http*://*/* // @grant none -// @version 1.17.0 +// @version 1.17.1 // @author blankie // @run-at document-end // @description Removes image loading placeholders @@ -59,7 +59,7 @@ function findUrl(element) { // - https://www.pcgamer.com/windows-95-theme-for-windows-10/ // Example of img-url: // - https://www.makeuseof.com/windows-11-resize-taskbar/ - if (/lazy|src|loading|original|img-url/.test(attr.name) && attr.name !== "src") { + if (!/lazy|src|loading|original|img-url/.test(attr.name) || attr.name === "src") { continue; } if (!isUrlLike(attr.value)) {