diff --git a/Image Loader Placeholder Remover.user.js b/Image Loader Placeholder Remover.user.js index 9783a9b..2164efc 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.15.2 +// @version 1.16.0 // @author blankie // @run-at document-end // @description Removes image loading placeholders @@ -55,7 +55,9 @@ function findUrl(element) { // Examples of original: // - https://www.pcgamer.com/ // - https://www.pcgamer.com/windows-95-theme-for-windows-10/ - if (!attr.name.includes("lazy") && !(attr.name.includes("src") && attr.name !== "src") && !attr.name.includes("loading") && !attr.name.includes("original")) { + // Example of img-url: + // - https://www.makeuseof.com/windows-11-resize-taskbar/ + if (!attr.name.includes("lazy") && !(attr.name.includes("src") && attr.name !== "src") && !attr.name.includes("loading") && !attr.name.includes("original") && !attr.name.includes("img-url")) { continue; } if (!isUrlLike(attr.value)) { @@ -88,6 +90,11 @@ function unhideElement(element) { if (style.display === "none") { element.style.display = "block"; } + + // Example: https://www.makeuseof.com/windows-11-resize-taskbar/ + if (window.location.host === "www.makeuseof.com") { + element.style.paddingBottom = 0; + } } function getLazyloaderClasses(element) {