mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 17:15:09 +00:00
bug fixed
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2020-12-26 18:49⟧
|
☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2020-12-27 13:49⟧
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
🛠 发现 𝐁𝐔𝐆 请反馈: @Shawn_KOP_bot
|
🛠 发现 𝐁𝐔𝐆 请反馈: @Shawn_KOP_bot
|
||||||
⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API
|
⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API
|
||||||
@@ -491,6 +491,7 @@ function SCP2QX(subs) {
|
|||||||
type = subs[i].replace(/\s+/g," ").split(" ")[0]
|
type = subs[i].replace(/\s+/g," ").split(" ")[0]
|
||||||
js = subs[i].split("script-path")[1].split("=")[1].split(",")[0]
|
js = subs[i].split("script-path")[1].split("=")[1].split(",")[0]
|
||||||
ptn = subs[i].replace(/\s+/g," ").split(" ")[1]
|
ptn = subs[i].replace(/\s+/g," ").split(" ")[1]
|
||||||
|
subsi = subs[i].replace(/ /g,"").replace(/\=true/g,"=1")
|
||||||
if (type == "http-response" && subsi.indexOf("requires-body=1") != -1) {
|
if (type == "http-response" && subsi.indexOf("requires-body=1") != -1) {
|
||||||
type = "script-response-body "
|
type = "script-response-body "
|
||||||
} else if (type == "http-response" && subsi.indexOf("requires-body=1") == -1) {
|
} else if (type == "http-response" && subsi.indexOf("requires-body=1") == -1) {
|
||||||
@@ -2395,4 +2396,4 @@ function OR(...args) {
|
|||||||
|
|
||||||
function NOT(array) {
|
function NOT(array) {
|
||||||
return array.map(c => !c);
|
return array.map(c => !c);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user