diff --git a/Image Loader Placeholder Remover.user.js b/Image Loader Placeholder Remover.user.js index 28d75ff..e6028dd 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.16.1 +// @version 1.16.2 // @author blankie // @run-at document-end // @description Removes image loading placeholders @@ -12,7 +12,9 @@ "use strict"; function isUrlLike(url) { - return url && /^(?:\/|https?:\/\/)\S+$/.test(url); + // Example of ./path: + // - https://projects.apnews.com/features/2023/missing-students-chronic-absenteeism/index.html + return url && /^(?:https?:\/\/|\.{0,2}\/)\S+$/.test(url); } function findUrl(element) { if (window.location.host === "www.vice.com") {