Skip to content

Commit 507c887

Browse files
committed
fix
1 parent 16a7a81 commit 507c887

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,8 +908,8 @@
908908
return;
909909
}else if(location.hostname=="pan.baidu.com"){
910910
if(location.hash.slice(1)){
911-
document.querySelector("#accessCode").value=decodeURI(location.hash.slice(1).split("?")[0]);
912-
document.querySelector('#submitBtn').click();
911+
document.querySelector(".pickpw input,#accessCode").value=decodeURI(location.hash.slice(1).split("?")[0]);
912+
document.querySelector('.g-button,#submitBtn').click();
913913
}
914914
return;
915915
}else if(config.disableSites.test(location.href)){

0 commit comments

Comments
 (0)