Skip to content

Commit 2ff1dc1

Browse files
committed
fix: update the order of userscript items
1 parent c00d8f3 commit 2ff1dc1

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

zh-CN/search_group_userscript.json

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,33 @@
1616
"itemsPerRow": 1,
1717
"items": [
1818
{
19-
"id": "greasy_fork",
20-
"name": "Greasy Fork",
19+
"id": "greasy_fork_domain",
20+
"name": "Greasy Fork 域名搜索",
2121
"icon": "favicon",
2222
"type": "url",
23-
"data": "https://greasyfork.org/scripts?filter_locale=0&q={selected||query||hostname_top_level}"
23+
"data": "https://greasyfork.org/scripts/by-site/{hostname_top_level}?filter_locale=0"
2424
},
2525
{
26-
"id": "greasy_fork_domain",
27-
"name": "Greasy Fork 域名搜索",
26+
"id": "scriptcat_domain",
27+
"name": "ScriptCat 域名搜索",
2828
"icon": "favicon",
2929
"type": "url",
30-
"data": "https://greasyfork.org/scripts/by-site/{hostname_top_level}?filter_locale=0"
30+
"data": "https://scriptcat.org/search?domain={hostname_top_level}"
31+
},
32+
{
33+
"id": "sleazy_fork_domain",
34+
"name": "Sleazy Fork 域名搜索",
35+
"icon": "favicon",
36+
"hidden": true,
37+
"type": "url",
38+
"data": "https://sleazyfork.org/scripts/by-site/{hostname_top_level}?filter_locale=0"
39+
},
40+
{
41+
"id": "greasy_fork",
42+
"name": "Greasy Fork",
43+
"icon": "favicon",
44+
"type": "url",
45+
"data": "https://greasyfork.org/scripts?filter_locale=0&q={selected||query||hostname_top_level}"
3146
},
3247
{
3348
"id": "openuserjs",
@@ -43,13 +58,6 @@
4358
"type": "url",
4459
"data": "https://scriptcat.org/search?keyword={selected||query||hostname_top_level}"
4560
},
46-
{
47-
"id": "scriptcat_domain",
48-
"name": "ScriptCat 域名搜索",
49-
"icon": "favicon",
50-
"type": "url",
51-
"data": "https://scriptcat.org/search?domain={hostname_top_level}"
52-
},
5361
{
5462
"id": "github",
5563
"name": "GitHub",
@@ -68,15 +76,9 @@
6876
"id": "sleazy_fork",
6977
"name": "Sleazy Fork",
7078
"icon": "favicon",
79+
"hidden": true,
7180
"type": "url",
7281
"data": "https://sleazyfork.org/scripts?filter_locale=0&q={selected||query||hostname_top_level}"
73-
},
74-
{
75-
"id": "sleazy_fork_domain",
76-
"name": "Sleazy Fork 域名搜索",
77-
"icon": "favicon",
78-
"type": "url",
79-
"data": "https://sleazyfork.org/scripts/by-site/{hostname_top_level}?filter_locale=0"
8082
}
8183
]
8284
}

0 commit comments

Comments
 (0)