2009年7月6日星期一

[GFW Blog] 配合ssh翻墙使用的pac脚本

来源:http://daminger.net/dm.pac

function FindProxyForURL(url, host)
{
   if ( dnsDomainIs(host, ".blogspot.com") || dnsDomainIs(host, ".youtube.com")|| dnsDomainIs(host, ".wikipedia.org")|| dnsDomainIs(host, ".google.com") || dnsDomainIs(host, ".google.cn") || dnsDomainIs(host, ".blogger.com") || dnsDomainIs(host, ".googlegroups.com") || dnsDomainIs(host, ".googlevideo.com")|| dnsDomainIs(host, ".gmail.com") || dnsDomainIs(host, ".appspot.com")){
        return "socks5 localhost:7070";
    }    
if(shExpMatch(url, "*.flv*") || shExpMatch(url, "*.mp4*") || shExpMatch(url, "*.m4v*") || shExpMatch(url, "*.f4v*")) { if(shExpMatch(url, "*hzplayer0.tudou.com*")) return "DIRECT"; else return "PROXY 127.0.0.1:9415"; }
    return DIRECT;
}


--
Posted By GFW Blog to GFW Blog at 7/06/2009 09:22:00 P
--~--~---------~--~----~------------~-------~--~----~
GFW Blog又被封了,您可以通过以下网址翻墙访问:
https://meme2028.appspot.com/chinagfw.org/
https://soproxy.appspot.com/chinagfw.org/
https://proxytea.appspot.com/chinagfw.org/
https://quick-proxy.appspot.com/chinagfw.org/
https://free4internet.appspot.com/chinagfw.org/ 。 您也可以使用Google Reader订阅我们,订阅地址:http://chinagfw.org/feeds/posts/default。
To unsubscribe from this group, send email to
gfw-blog+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/gfw-blog?hl=zh-CN
-~----------~----~----~----~------~----~------~--~---

没有评论:

发表评论