From cb9304a0302d0803aadb2e2b3e847b0c906cb713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AF=AE?= Date: Sat, 18 Feb 2023 01:08:26 +0900 Subject: [PATCH] First commit. --- README.md | 3 +++ pokemon-infomation.com/script.js | 15 +++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 README.md create mode 100644 pokemon-infomation.com/script.js diff --git a/README.md b/README.md new file mode 100644 index 0000000..45512b0 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +The internet is painful to use, so I fixed a few websoytes using the power of JS to make them more usable. + +For Violentmonkey scripts: [Gitler](https://gitler.moe/ryo/stylus-css), [Ryogit](http://ryogit.i2p/?path=/stylus-css) diff --git a/pokemon-infomation.com/script.js b/pokemon-infomation.com/script.js new file mode 100644 index 0000000..465a24a --- /dev/null +++ b/pokemon-infomation.com/script.js @@ -0,0 +1,15 @@ +// ==UserScript== +// @name pokemon-infomation.com-anti-lazyload +// @namespace Violentmonkey Scripts +// @match *://*/* +// @grant none +// @version 1.0 +// @author 寮 +// @description 2023/2/18 0:17:36 +// ==/UserScript== + +let fuckingAnnoying = document.getElementsByClassName("lazyload"); + +for (let i = 0; i < fuckingAnnoying.length; i++) { + fuckingAnnoying[i].src = fuckingAnnoying[i].dataset.src; +}