Last active
September 6, 2018 05:46
-
-
Save shalzz/7586444 to your computer and use it in GitHub Desktop.
[PAC file for UPESNET at UPES] Proxy Automatic Configuration script which automatically sets the proxy required for the network "UPESNET" (Wi-Fi at University of Petroleum and Energy Studies). #windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2013 | |
* Shaleen Jain | |
* shalzz@outlook.com | |
* | |
* PAC File for UPESNET | |
*/ | |
function FindProxyForURL(url, host) { | |
if(isResolvable("proxy.ddn.upes.ac.in")) | |
{ | |
return "PROXY proxy.ddn.upes.ac.in:8080"; | |
} | |
else | |
{ | |
return "DIRECT"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment