From c5bcef022a611afded99f8267d2686335798176f Mon Sep 17 00:00:00 2001 From: blankie Date: Sun, 6 Aug 2023 09:26:33 +1000 Subject: [PATCH] Update Image Loader Placeholder Remover to 1.15.2 - Fix images going out of bounds on legendsoflocalization.com --- Image Loader Placeholder Remover.user.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Image Loader Placeholder Remover.user.js b/Image Loader Placeholder Remover.user.js index 7430529..9783a9b 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.1 +// @version 1.15.2 // @author blankie // @run-at document-end // @description Removes image loading placeholders @@ -180,7 +180,9 @@ function removePlaceholder(img) { img.src = url; unhideElement(img); - img.classList.remove(...getLazyloaderClasses(img)); + // commented out as some sites may visually break, such as: + // https://legendsoflocalization.com/japans-mysterious-love-of-the-word-lets/#why-lets-is-so-common + //img.classList.remove(...getLazyloaderClasses(img)); if (!hasLinkParent) { let wrapper = document.createElement("a");