fix ua form

This commit is contained in:
nite07 2025-03-05 19:24:48 +11:00
parent cc80e237d6
commit b57e4cf49f

View File

@ -69,7 +69,7 @@ function generateURI() {
// 获取订阅user-agent标识
const userAgent = document.getElementById("user-agent").value;
queryParams.push(`userAgent=${userAgent}`)
queryParams.push(`userAgent=${encodeURIComponent(userAgent)}`);
// 获取复选框的值
const refresh = document.getElementById("refresh").checked;