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)) {