Add search option to search on Userscripts.org and *cough* OpenUserJS.org.
< 脚本Greasy Fork镜像 - Search other sites的反馈
Very useful script. Thank you. Just a few things to fix
Very useful script. Thank you.
Just a few things:
https://openuserjs.org/search/
https://openuserjs.org/?q=
Here are my changes: lines 51-52 to become:
{ name: "OpenUserJS", url: "https://openuserjs.org/?q=" }, { name: "Userscripts.org", url: "https://www.google.com/search?q=" }
line 59 to become: case 2: searchURL2 = sites[1].url; break;
case 2: searchURL2 = sites[1].url; break;
and insert after line 66:
if (searchURL2) { aEvent.preventDefault(); location.assign(searchURL2 + encodeURIComponent(query) +'+site:userscripts-mirror.org' ); }
登录(不可用)以发表回复。
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
Very useful script. Thank you. Just a few things to fix
Very useful script. Thank you.
Just a few things:
via
https://openuserjs.org/search/
but
https://openuserjs.org/?q=
Userscripts-mirror.org doesn't offer searching (nor standard not even via tags).
So, the only solution would be Google Search.
(therefore, it's better to make it the last of the 3 options)
Here are my changes:
lines 51-52 to become:
line 59 to become:
case 2: searchURL2 = sites[1].url; break;
and insert after line 66: