We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a0ae25 commit 5bcc13fCopy full SHA for 5bcc13f
1 file changed
HacgGodTurn/HacgGodTurn.user.js
@@ -890,7 +890,7 @@
890
return;
891
}else if(location.hostname=="pan.baidu.com"){
892
if(location.hash.slice(1)){
893
- document.querySelector("#accessCode").value=decodeURI(location.hash.slice(1));
+ document.querySelector("#accessCode").value=decodeURI(location.hash.slice(1).split("?")[0]);
894
document.querySelector('#submitBtn').click();
895
}
896
0 commit comments