(cnt)
| 2970 | |
| 2971 | // udp-over-tcp=true 开启 |
| 2972 | function UOT(cnt) { |
| 2973 | cnts=cnt.replace(/\s*/g,"") |
| 2974 | if(/^shadowsocks=/.test(cnts)) { |
| 2975 | cnt= cnts.indexOf("udp-over-tcp")!=-1? cnt.replace(/udp-over-tcp\s*\=\s*false/g,"udp-over-tcp=true") : cnt+", udp-over-tcp=true" |
| 2976 | |
| 2977 | } |
| 2978 | return cnt |
| 2979 | } |
| 2980 | |
| 2981 | //比较完美的一款 base64 encode/decode 工具 |
| 2982 | /* |