From f55c0c34c08606c32afdc31fadb8894c118979a3 Mon Sep 17 00:00:00 2001 From: blankie Date: Thu, 22 Jun 2023 23:39:03 +0700 Subject: [PATCH] Update Image Loader Placeholder Remover to 1.11.0 - Add support for knowyourmeme.com --- Image Loader Placeholder Remover.user.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Image Loader Placeholder Remover.user.js b/Image Loader Placeholder Remover.user.js index 60c4234..f188b12 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.10.0 +// @version 1.11.0 // @author blankie // @run-at document-end // @description Removes image loading placeholders @@ -194,7 +194,9 @@ function vulcan() { } // https://blog.joshumax.me/general/2021/08/11/running-doom-on-captioncall.html -function joshumax() { +// https://knowyourmeme.com/ +// https://knowyourmeme.com/memes/saddam-husseins-hiding-place +function joshumax_knowyourmeme() { for (let element of document.querySelectorAll("img[data-src]")) { const addLink = element.parentNode.tagName !== "A"; const url = new URL(element.getAttribute("data-src"), location); @@ -222,6 +224,7 @@ switch (location.host) { case "www.bleepingcomputer.com": bleepingcomputer(); break; case "securelist.com": securelist(); break; case "vulcan.io": vulcan(); break; - case "blog.joshumax.me": joshumax(); break; + case "blog.joshumax.me": joshumax_knowyourmeme(); break; + case "knowyourmeme.com": joshumax_knowyourmeme(); break; default: wordpress(); break; }; \ No newline at end of file