Skip to content

Instantly share code, notes, and snippets.

@JoelQFernandez
Created September 27, 2012 17:45
Show Gist options
  • Save JoelQFernandez/3795354 to your computer and use it in GitHub Desktop.
Save JoelQFernandez/3795354 to your computer and use it in GitHub Desktop.
Proxy Pac - CBC Player
// Bypass CBC Player Geo Blocking.
function FindProxyForURL(url, host)
{
if (shExpMatch(url, "*.cbc.ca/video/js/SWFVideoPlayer.js")
|| shExpMatch(url, "*.theplatform.com/f/h9dtGB/*"))
{
return "PROXY 142.4.192.39:8080";
}
else
{
return "DIRECT";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment