This commit is contained in:
2024-08-04 12:59:55 +08:00
parent 7158ad467a
commit dedbf2bc03
3 changed files with 14 additions and 1 deletions

View File

@ -179,6 +179,10 @@ async function parseInputURL() {
let hash = url.pathname.substring(url.pathname.lastIndexOf("/s/") + 3);
let q = new URLSearchParams();
let password = url.searchParams.get("password");
if (password === null) {
alert("仅可解析加密短链");
return;
}
q.append("hash", hash);
q.append("password", password);
try {