This script will add several shortcut buttons under each script item on the script list page and script author's home page of GreasyFork website. Including features such as direct installation, Temporarily hidden, blacklisting, and more exciting needs you to find out. And an input box was added at the top of the script list items, So you can filter out your own scripts by keywords.Author:浴火凤凰(QQ Number:307053741,QQ Group Number:194885662)
试着自己改了一下364行 改为:
a1.href = li.querySelector("article > h2 > a").href.replace("zh-CN/","") + "/code/"+li.querySelector("article > h2 > a").innerText.replace(" ","-")+".user.js";
基本达成要求
1.首先感谢你的及时反馈!
2.为你的动手精神点个赞!
希望 "安装" 给出类似这样的链接"https://greasyfork.org/scripts/393396-greasyfork%E7%BD%91%E7%AB%99%E5%8A%A9%E6%89%8B/code/GreasyFork%E7%BD%91%E7%AB%99%E5%8A%A9%E6%89%8B.user.js"
而不是这种的"https://greasyfork.org/zh-CN/scripts/393396-greasyfork%E7%BD%91%E7%AB%99%E5%8A%A9%E6%89%8B/code.user.js"
暴力猴想点一下直接安装 只能用第一种链接 第二种是不行的