rename configs, add yggstack-or-psocks.pac

This commit is contained in:
postscriptum 2026-03-30 09:00:28 +03:00
parent ba1f9f5368
commit a3dec1db60
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,12 @@
// Yggdrasil and Mycelium only (local router)
function FindProxyForURL(url, host)
{
if (/^0{0,1}[2-3][a-f0-9]{0,2}:/.test(host) || /\.ygg$/.test(host)
|| /^0{0,1}[4-5][a-f0-9]{0,2}:/.test(host)
) {
return 'DIRECT';
}
return 'PROXY 127.0.0.1:0'; // fake proxy
}