Skip to content

Instantly share code, notes, and snippets.

@orion1vi
Last active March 26, 2026 09:01
Show Gist options
  • Select an option

  • Save orion1vi/7a37c6115773ad104fdc83dfec076900 to your computer and use it in GitHub Desktop.

Select an option

Save orion1vi/7a37c6115773ad104fdc83dfec076900 to your computer and use it in GitHub Desktop.

Revisions

  1. orion1vi revised this gist Mar 26, 2026. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion pac
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,8 @@ proxies = [
    ["127.0.0.1:9050",
    "nyaa.si",
    "kemono.su",
    "coomer.su"
    "coomer.su",
    "macrumors.com"
    ],
    ];

  2. orion1vi revised this gist May 21, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions pac
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,7 @@ proxies = [
    ["127.0.0.1:9050",
    "nyaa.si",
    "kemono.su",
    "coomer.su"
    ],
    ];

  3. orion1vi created this gist Jan 5, 2025.
    16 changes: 16 additions & 0 deletions pac
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    function FindProxyForURL(url, host)
    {
    proxies = [
    ["127.0.0.1:9050",
    "nyaa.si",
    "kemono.su",
    ],
    ];

    for (var x = 0; x < proxies.length; x++)
    for (var y = 1; y < proxies[x].length; y++)
    if (host == proxies[x][y] || shExpMatch(host, "*." + proxies[x][y]))
    return "SOCKS " + proxies[x][0];

    return "DIRECT";
    }