2008-02-10

Some websites block quick fix

我无意中看到这篇文章,效果是非常的好(至少现在) - 我可以访问我的blog了~

原文:http://www.lostlaowai.com/commentary/blog/2007/03/26/blogspot-blog-quick-fix/

Use Notepad (or any plain text editor) to write a file with the following codes:

function FindProxyForURL(url,host){
if(dnsDomainIs(host, ".blogspot.com")){
return "PROXY 72.14.219.190:80";
}
if(dnsDomainIs(host, ".wikipedia.org")){
return "PROXY 66.230.200.101:80";
}
if(dnsDomainIs(host, ".wordpress.com")){
return "PROXY 72.232.101.41:80";
}
if(dnsDomainIs(host, ".livejournal.com")){
return "PROXY 204.9.177.19:80";
}
return "DIRECT";
}

Save the file as proxy.pac (note, be careful Notepad doesn’t add a .txt extension to the file) and put it in your root directory (usually C:\). In Firefox, click Tools->Options->Advanced->Network->Settings… fill the text below in the blank under “Automatic proxy configuration URL”:

file:///C:/proxy.pac

Press Reload on the right, press OK, and OK. Relaunch Firefox, and you’re done! Free to surf Blogspot (and the continually blocked Wordpress.com) till your heart’s content.