Adds install buttons to all the search result pages, nice for mass installing
< 腳本Greasyfork install button on search的回應
I didn't see a github link, can you make this change and support sleazyfork.org too?
// ==UserScript== // @name Greasyfork install button on search // @namespace Danielv123 // @version 1.1 // @description Adds install buttons to all the search result pages, nice for mass installing // @author You // @match https://gf.qytechs.cn/* // @match https://sleazyfork.org/* // @requires jQuery // @grant none // ==/UserScript==
// vanilla greasyfork if(document.querySelector("#user-script-list")){ for(i = 1; document.querySelector("#user-script-list").childNodes.length > i; i++) { (function(i){ if(document.querySelector("#user-script-list > li:nth-child(" + i + ")>article>h2>a")) { console.log(document.querySelector("#user-script-list > li:nth-child(" + i + ")>article>h2>a")); $("
// compat with [TS] Citrus GFork setTimeout(function(){ if(document.querySelector("#script-table")){ for(i = 0; document.querySelector("#script-table > tbody").childNodes.length > i; i++) { (function(i){ if(document.querySelector("#script-table tr:nth-child("+i+") > td:nth-child(2) > div.thetitle > a")) { console.log(document.querySelector("#script-table tr:nth-child("+i+") > td:nth-child(2) > div.thetitle > a")); $("
I don't use git for my userscripts, but yes I will add this, thanks.
登入以回復
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
I didn't see a github link, can you make this change and support sleazyfork.org too?
// ==UserScript== // @name Greasyfork install button on search // @namespace Danielv123 // @version 1.1 // @description Adds install buttons to all the search result pages, nice for mass installing // @author You // @match https://gf.qytechs.cn/* // @match https://sleazyfork.org/* // @requires jQuery // @grant none // ==/UserScript==
// vanilla greasyfork if(document.querySelector("#user-script-list")){ for(i = 1; document.querySelector("#user-script-list").childNodes.length > i; i++) { (function(i){ if(document.querySelector("#user-script-list > li:nth-child(" + i + ")>article>h2>a")) { console.log(document.querySelector("#user-script-list > li:nth-child(" + i + ")>article>h2>a")); $("
// compat with [TS] Citrus GFork setTimeout(function(){ if(document.querySelector("#script-table")){ for(i = 0; document.querySelector("#script-table > tbody").childNodes.length > i; i++) { (function(i){ if(document.querySelector("#script-table tr:nth-child("+i+") > td:nth-child(2) > div.thetitle > a")) { console.log(document.querySelector("#script-table tr:nth-child("+i+") > td:nth-child(2) > div.thetitle > a")); $("