Skip to content

Commit 0005e55

Browse files
committed
Update searchJumper.user.js
1 parent ef772d0 commit 0005e55

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

searchJumper.user.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,10 +1946,10 @@
19461946
#search-jumper.search-jumper-showall>#search-jumper-alllist:hover~.search-jumper-showallBg {
19471947
background-color: rgba(0, 0, 0, 0.8);
19481948
}
1949-
#search-jumper.search-jumper-showall #search-jumper-alllist>.sitelistBox:hover .sitelist {
1949+
#search-jumper.search-jumper-showall #search-jumper-alllist.new-mode>.sitelistBox:hover .sitelist {
19501950
opacity: 0.5;
19511951
}
1952-
#search-jumper.search-jumper-showall #search-jumper-alllist>.sitelistBox .sitelist:hover {
1952+
#search-jumper.search-jumper-showall #search-jumper-alllist.new-mode>.sitelistBox .sitelist:hover {
19531953
opacity: 1;
19541954
}
19551955
#search-jumper.search-jumper-showall>.search-jumper-showallBg {
@@ -15134,7 +15134,9 @@
1513415134
}
1513515135
if (parentForm.method.toLowerCase() == "post") {
1513615136
url += "%p{" + params.join("&") + "}";
15137-
if (parentForm.action.indexOf(location.origin) == 0 && location.pathname && location.pathname !== "/") url += `#from{${location.pathname.slice(1)}}`;
15137+
if (!ext) {
15138+
if (parentForm.action.indexOf(location.origin) == 0 && location.pathname && location.pathname !== "/") url += `#from{${location.pathname.slice(1)}}`;
15139+
}
1513815140
} else {
1513915141
let existParams = url.match(/\?(.*)/);
1514015142
if (existParams) {

0 commit comments

Comments
 (0)