# HG changeset patch # User nanaya # Date 1671885102 -32400 # Node ID e21710f5dd7b9e4dd975f34e96a4624e3951dd32 # Parent 74c33632c353e68b7206dc45153305c029ecd7c3 Also run on its own node diff -r 74c33632c353 -r e21710f5dd7b pixiv-fanbox-unlazy.user.js --- a/pixiv-fanbox-unlazy.user.js Sat Dec 24 21:28:36 2022 +0900 +++ b/pixiv-fanbox-unlazy.user.js Sat Dec 24 21:31:42 2022 +0900 @@ -1,7 +1,7 @@ // ==UserScript== // @name pixiv fanbox no lazy loading image // @namespace https://myconan.net -// @version 2.1.0 +// @version 2.1.1 // @description Lazy loading is bad for environment. Disable it. // @author nanaya // @match https://*.fanbox.cc/* @@ -43,6 +43,7 @@ for (const mutation of mutations) { for (const node of mutation.addedNodes) { if (node instanceof window.HTMLElement) { + fix(node) for (const link of node.querySelectorAll(`[href^="${imageUrlPrefix}"]`)) { fix(link) }