From 357e3fe27bcc43b9a21fe6b7bf6ad64838df3b9c Mon Sep 17 00:00:00 2001 From: Kop-Shawn Date: Wed, 6 May 2020 00:14:00 +0800 Subject: [PATCH] =?UTF-8?q?trojan=E8=AE=A2=E9=98=85=E8=BD=AC=E6=8D=A2?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/resource-parser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/resource-parser.js b/Scripts/resource-parser.js index a9bcc5a..3c7f513 100644 --- a/Scripts/resource-parser.js +++ b/Scripts/resource-parser.js @@ -1,5 +1,5 @@ /** -#Quantumult X 资源解析器 (2020-05-05: 20:33) +#Quantumult X 资源解析器 (2020-05-05: 23:59) 本资源解析器作者: Shawn(@XIAO_KOP), 有问题请反馈: @Shawn_KOP_bot @@ -372,7 +372,7 @@ function TJ2QX(subs,Pudp,Ptfo,Pcert){ var ntrojan=[] var cnt=list0[i].split("trojan://")[1] type="trojan="; - ip=cnt.split("@")[1].split("?")[0]; + ip=cnt.split("@")[1].split(":443")[0]+":443"; pwd="password="+cnt.split("@")[0]; obfs="over-tls=true"; pcert= cnt.indexOf("allowInsecure=0")!= -1? "tls-verification=true":"tls-verification=false";