mirror of
https://github.com/nitezs/sub2clash.git
synced 2025-04-04 12:43:44 +08:00
fix ua form
This commit is contained in:
parent
cc80e237d6
commit
b57e4cf49f
@ -69,7 +69,7 @@ function generateURI() {
|
|||||||
|
|
||||||
// 获取订阅user-agent标识
|
// 获取订阅user-agent标识
|
||||||
const userAgent = document.getElementById("user-agent").value;
|
const userAgent = document.getElementById("user-agent").value;
|
||||||
queryParams.push(`userAgent=${userAgent}`)
|
queryParams.push(`userAgent=${encodeURIComponent(userAgent)}`);
|
||||||
|
|
||||||
// 获取复选框的值
|
// 获取复选框的值
|
||||||
const refresh = document.getElementById("refresh").checked;
|
const refresh = document.getElementById("refresh").checked;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user