Update Image Loader Placeholder Remover to 1.15.2
- Fix images going out of bounds on legendsoflocalization.com
This commit is contained in:
parent
cadc19f469
commit
c5bcef022a
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue