diff --git a/Image Loader Placeholder Remover.user.js b/Image Loader Placeholder Remover.user.js index 556d2e8..548a901 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.4 +// @version 1.5 // @author blankie // @run-at document-end // @description Removes image loading placeholders @@ -129,11 +129,24 @@ function wired() { document.head.appendChild(style); } +// https://www.theautopian.com/ +// https://www.theautopian.com/nobody-wants-touch-screen-glove-box-latches-and-it-needs-to-stop-now/ +function theautopian() { + for (element of document.querySelectorAll("img[data-jzl-lazy-src]")) { + let originalUrl = element.getAttribute("data-jzl-lazy-src"); + if (originalUrl === null) { + continue; + } + element.src = originalUrl; + } +} + switch (location.host) { case "closeronline.co.uk": closeronline(); break; case "www.indiatoday.in": indiatoday(); break; case "www.vice.com": vice(); break; case "www.pcgamer.com": pcgamer(); break; case "www.wired.com": wired(); break; + case "www.theautopian.com": theautopian(); break; default: wordpress(); break; }; \ No newline at end of file