Skip to content

Instantly share code, notes, and snippets.

@JoelQFernandez
Created September 27, 2012 15:47
Show Gist options
  • Save JoelQFernandez/3794736 to your computer and use it in GitHub Desktop.
Save JoelQFernandez/3794736 to your computer and use it in GitHub Desktop.
Proxy Pac - BBC iPlayer
// Bypass BBC iPlayer Geo Blocking.
function FindProxyForURL(url, host)
{
if (shExpMatch(url, "*.bbc.co.uk/iplayer*")
|| shExpMatch(url, "*.bbc.co.uk/mediaselector*")
|| shExpMatch(url, "*/locator*") )
{
return "PROXY 81.27.79.181:8080";
}
else
{
return "DIRECT";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment