Skip to content

Instantly share code, notes, and snippets.

View blyatrobef-cmd's full-sized avatar

blyatrobef-cmd

  • Joined Apr 28, 2026
View GitHub Profile
@blyatrobef-cmd
blyatrobef-cmd / proxy.pac
Last active April 28, 2026 11:45
Pac method
// PAC-script met automatische fallback
// Gebruikersnaam: cmohegqn | Wachtwoord: 0n2yitag3i6c
function FindProxyForURL(url, host) {
// Lokaal verkeer direct
if (isPlainHostName(host)) return "DIRECT";
if (shExpMatch(host, "localhost")) return "DIRECT";
if (shExpMatch(host, "127.0.0.1")) return "DIRECT";
if (shExpMatch(host, "192.168.*")) return "DIRECT";