Skip to content

Commit 5bcc13f

Browse files
committed
fix
1 parent 6a0ae25 commit 5bcc13f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@
890890
return;
891891
}else if(location.hostname=="pan.baidu.com"){
892892
if(location.hash.slice(1)){
893-
document.querySelector("#accessCode").value=decodeURI(location.hash.slice(1));
893+
document.querySelector("#accessCode").value=decodeURI(location.hash.slice(1).split("?")[0]);
894894
document.querySelector('#submitBtn').click();
895895
}
896896
return;

0 commit comments

Comments
 (0)