Remove click event on the link itself
1 files changed, 2 insertions(+), 1 deletions(-) M pixiv-fanbox-unlazy.user.js
M pixiv-fanbox-unlazy.user.js +2 -1
@@ 1,7 1,7 @@ // ==UserScript== // @name pixiv fanbox no lazy loading image // @namespace https://myconan.net -// @version 1.0.1 +// @version 2.0.0 // @description Lazy loading is bad for environment. Disable it. // @author nanaya // @match https://*.fanbox.cc/* @@ 47,6 47,7 @@ } link._ecUserscript = true + link.onclick = null link.innerHTML = `<img style="width: 100%;" src="${href}" />` }