Sunday, October 2, 2011

youtube proxy script/pac file

function FindProxyForURL(url, host)
{
  if (shExpMatch(url, "http://*.ytimg.com*")) { return "PROXY <server>:<port>"; }
  if (shExpMatch(url, "http://*youtube.com*")) { return "PROXY <server>:<port>"; }
  return "DIRECT";
}
I really love this one, finally GEMA can go **** themselves for not providing distribution rights!
Of course you have to actually replace the variables like tehsuck.de:8079

No comments:

Post a Comment