mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 21:25:09 +00:00
minor bug fixed
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2023-07-24 16:45⟧
|
☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2023-07-27 10:30⟧
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
🛠 发现 𝐁𝐔𝐆 请反馈: https://t.me/Shawn_Parser_Bot
|
🛠 发现 𝐁𝐔𝐆 请反馈: https://t.me/Shawn_Parser_Bot
|
||||||
⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API
|
⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API
|
||||||
@@ -2020,6 +2020,7 @@ function SSR2QX(subs, Pudp, Ptfo) {
|
|||||||
var cnt = Base64.decode(subs.split("ssr://")[1].replace(/-/g, "+").replace(/_/g, "/")).split("\u0000")[0]
|
var cnt = Base64.decode(subs.split("ssr://")[1].replace(/-/g, "+").replace(/_/g, "/")).split("\u0000")[0]
|
||||||
var obfshost = '';
|
var obfshost = '';
|
||||||
var oparam = '';
|
var oparam = '';
|
||||||
|
if(Pdbg==1) {$notify("ssr","content",cnt)}
|
||||||
if (cnt.split(":").length <= 8) { //排除难搞的 ipv6 节点
|
if (cnt.split(":").length <= 8) { //排除难搞的 ipv6 节点
|
||||||
type = "shadowsocks=";
|
type = "shadowsocks=";
|
||||||
ip = cnt.split(":")[0] + ":" + cnt.split(":")[1];
|
ip = cnt.split(":")[0] + ":" + cnt.split(":")[1];
|
||||||
@@ -2091,7 +2092,8 @@ function joinx(total,item) {
|
|||||||
function SS2QX(subs, Pudp, Ptfo) {
|
function SS2QX(subs, Pudp, Ptfo) {
|
||||||
var nssr = []
|
var nssr = []
|
||||||
var cnt = subs.split("ss://")[1]
|
var cnt = subs.split("ss://")[1]
|
||||||
if (cnt.split(":").length <= 6) { //排除难搞的 ipv6 节点
|
QX=""
|
||||||
|
if (cnt.split(":").length <= 10) { //排除难搞的 ipv6 节点
|
||||||
type = "shadowsocks=";
|
type = "shadowsocks=";
|
||||||
let cntt = cnt.split("#")[0]
|
let cntt = cnt.split("#")[0]
|
||||||
//console.log(cntt)
|
//console.log(cntt)
|
||||||
@@ -2137,9 +2139,9 @@ function SS2QX(subs, Pudp, Ptfo) {
|
|||||||
ptfo = Ptfo == 1 ? "fast-open=true" : "fast-open=false";
|
ptfo = Ptfo == 1 ? "fast-open=true" : "fast-open=false";
|
||||||
nssr.push(type + ip, pwd, mtd + obfs + obfshost, pudp, ptfo, tag)
|
nssr.push(type + ip, pwd, mtd + obfs + obfshost, pudp, ptfo, tag)
|
||||||
QX = nssr.join(", ")
|
QX = nssr.join(", ")
|
||||||
//$notify(QX)
|
if(Pdbg==1) {$notify("SS","content",cnt+"\n"+QX)}
|
||||||
return QX;
|
|
||||||
}
|
}
|
||||||
|
return QX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -2547,6 +2549,8 @@ function get_emoji(emojip, sname) {
|
|||||||
"🇱🇮": ["列支敦士登"],
|
"🇱🇮": ["列支敦士登"],
|
||||||
"🇬🇺": ["关岛"],
|
"🇬🇺": ["关岛"],
|
||||||
"🇦🇶": ["南极"],
|
"🇦🇶": ["南极"],
|
||||||
|
"🇧🇹": ["不丹"],
|
||||||
|
"🇲🇻": ["马尔代夫", "馬爾代夫"],
|
||||||
"🇮🇶": ["伊拉克"],
|
"🇮🇶": ["伊拉克"],
|
||||||
"🇸🇨": ["塞舌尔"],
|
"🇸🇨": ["塞舌尔"],
|
||||||
"🇶🇦": ["卡塔尔", "卡塔爾", " QA "],
|
"🇶🇦": ["卡塔尔", "卡塔爾", " QA "],
|
||||||
|
|||||||
Reference in New Issue
Block a user