mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 21:25:09 +00:00
trojan订阅转换问题
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
#Quantumult X 资源解析器 (2020-05-05: 20:33)
|
#Quantumult X 资源解析器 (2020-05-05: 23:59)
|
||||||
|
|
||||||
本资源解析器作者: Shawn(@XIAO_KOP), 有问题请反馈: @Shawn_KOP_bot
|
本资源解析器作者: Shawn(@XIAO_KOP), 有问题请反馈: @Shawn_KOP_bot
|
||||||
|
|
||||||
@@ -372,7 +372,7 @@ function TJ2QX(subs,Pudp,Ptfo,Pcert){
|
|||||||
var ntrojan=[]
|
var ntrojan=[]
|
||||||
var cnt=list0[i].split("trojan://")[1]
|
var cnt=list0[i].split("trojan://")[1]
|
||||||
type="trojan=";
|
type="trojan=";
|
||||||
ip=cnt.split("@")[1].split("?")[0];
|
ip=cnt.split("@")[1].split(":443")[0]+":443";
|
||||||
pwd="password="+cnt.split("@")[0];
|
pwd="password="+cnt.split("@")[0];
|
||||||
obfs="over-tls=true";
|
obfs="over-tls=true";
|
||||||
pcert= cnt.indexOf("allowInsecure=0")!= -1? "tls-verification=true":"tls-verification=false";
|
pcert= cnt.indexOf("allowInsecure=0")!= -1? "tls-verification=true":"tls-verification=false";
|
||||||
|
|||||||
Reference in New Issue
Block a user