We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
玩荣耀战神 在线模式无法加入,单机模式 一会就会掉线。 找到类似问题的解决方案,https://github.com/Fndroid/clash_for_windows_pkg/issues/2198 但是不知道如何加入到tomoon里边。
function FindProxyForURL(url, host) { if ( dnsDomainIs(host, "ubisoft.com") || shExpMatch(host, "(.ubisoft.com|ubisoft.com|ubisoft)") || dnsDomainIs(host, "ubi.com") || shExpMatch(host, "(.ubi.com|ubi.com)") || dnsDomainIs(host, "akamaihd.net") || shExpMatch(host, "(*.akamaihd.net|akamaihd.net)") ) return "SOCKS5 127.0.0.1:%mixed-port%;DIRECT";
if ( isPlainHostName(host) || shExpMatch(host, "*.local") || isInNet(host, "10.0.0.0", "255.0.0.0") || isInNet(host, "127.0.0.0", "255.0.0.0") || isInNet(host, "172.16.0.0", "255.240.0.0") || isInNet(host, "192.168.0.0", "255.255.0.0") || isInNet(dnsResolve(host), "10.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "127.0.0.0", "255.0.0.0") || isInNet(dnsResolve(host), "172.16.0.0", "255.240.0.0") || isInNet(dnsResolve(host), "192.168.0.0", "255.255.0.0") ) { return "DIRECT"; } else { return "PROXY 127.0.0.1:%mixed-port%"; } }
有哪位大神知道 请赐教
The text was updated successfully, but these errors were encountered:
No branches or pull requests
玩荣耀战神 在线模式无法加入,单机模式 一会就会掉线。
找到类似问题的解决方案,https://github.com/Fndroid/clash_for_windows_pkg/issues/2198
但是不知道如何加入到tomoon里边。
function FindProxyForURL(url, host) {
if (
dnsDomainIs(host, "ubisoft.com") ||
shExpMatch(host, "(.ubisoft.com|ubisoft.com|ubisoft)") ||
dnsDomainIs(host, "ubi.com") ||
shExpMatch(host, "(.ubi.com|ubi.com)") ||
dnsDomainIs(host, "akamaihd.net") ||
shExpMatch(host, "(*.akamaihd.net|akamaihd.net)")
)
return "SOCKS5 127.0.0.1:%mixed-port%;DIRECT";
if (
isPlainHostName(host) ||
shExpMatch(host, "*.local") ||
isInNet(host, "10.0.0.0", "255.0.0.0") ||
isInNet(host, "127.0.0.0", "255.0.0.0") ||
isInNet(host, "172.16.0.0", "255.240.0.0") ||
isInNet(host, "192.168.0.0", "255.255.0.0") ||
isInNet(dnsResolve(host), "10.0.0.0", "255.0.0.0") ||
isInNet(dnsResolve(host), "127.0.0.0", "255.0.0.0") ||
isInNet(dnsResolve(host), "172.16.0.0", "255.240.0.0") ||
isInNet(dnsResolve(host), "192.168.0.0", "255.255.0.0")
) {
return "DIRECT";
} else {
return "PROXY 127.0.0.1:%mixed-port%";
}
}
有哪位大神知道 请赐教
The text was updated successfully, but these errors were encountered: