How To Spot A Blogspot Blog (A Quick Fix)

UPDATE May 12/09: While this solution may still work, if you are in China for any length of time, we recommend getting yourself hooked up with a Virtual Private Network (VPN). For a super-fast and versatile solution, check out WiTopia. If their inexpensive yearly fee is too much for you, give the slightly slower (but free) Hotspot Shield a try.
UPDATE May 11/08: This hack is somewhat dated now. However, it does still work (as of May 11/08) for Blogspot and WordPress – Wikipedia is out, and LJ never really worked. More detailed installation instructions (for Mac/PC – Firefox/Internet Explorer) can be found here: Access Blogger and WordPress Blogs in China.

greatfirewallsml.jpgLast November I wrote a post with a collection of “tools” to help you get around the GFC. At the time of writing (literally within hours) Blogspot were released from their “blocked” status in China, and so there wasn’t much use for the otherwise useful PK Blogs site.

A few months on, my predictions of tides changing and it again being blocked have come true. I was slow to post about this because really… it’s just not very interesting anymore. The blocking and unblocking of Blogspot, Wikipedia, BBC News, etc., used to be mysterious, nefarious even. The validations of fears that the CPC was watching us. Sort of a 1984 meets 1989.

Now however, it’s just ‘life here’. It’s annoying, childish and … annoying. I visit a number of Blogspot blogs and this kinks my visitation rights. I am fickle about reading online and often can’t be bothered to go through a proxy service (like those mentioned previously).

That said, Ya I Yee, an interesting new Chinese blog (written in English), has a cool little trick to thwart the Wall seamlessly and visit all the Blogspot blogs you want (note, these instructions are for Firefox – which you should be using anyway).

The Blogspot blog block 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.

Thanks a lot to Yee and Fermi Zhang for this script.

*** UPDATE ***

Since the original post, Fermi has updated this fix to include LiveJournal and Wikipedia – you rock man – and I’ve therefore updated the code above to reflect this.


96 Comments leave one

  1. John says:

    Thanks for that. It works brilliantly. Straight onto blogspot without any lag at all. Now what has petite anglaise been up to in my absence…

  2. Russell says:

    Who’s server is 72.232.101.41 ?

  3. Russell says:

    Er, whose, rather.

  4. Ryan says:

    @Russell: An excellent question. This is the best I can do. I really don’t know where the IP came from – nor if it will need to be changed… but it works for now :-)

    Anyone with any input on this?

  5. TIm says:

    I just saw this thread after seeing Ryan’s cross post on The Humanaught. Here’s what I commented on over there.

    That’s really clever, but is really dependent on the kindness of Google to allow you keep on using that IP address.

    Check it out at http://www.ip-adress.com

    I find it highly ironic that in this way, Google is helping you beat The Man in China.

  6. Shaun says:

    Just put some good on quotes around the file name (“proxy.pac”) and notepad will save the file as told.

  7. Kevin S. says:

    72.232.101.41 is one of WordPress.com’s servers, which is why there is no lag at all. This workaround is absolutely BRILLIANT!

  8. Keir says:

    Bless you for that information! I can’t believe I did exactly what you said and it works!!!

  9. Kat says:

    Hey, thanks a million for sharing! Especially since pkblogs has been inaccessible recently… alas!

  10. Chris says:

    CAUTION: This IP address for livejournal isn’t working for me, and I’m pretty sure it’s a fake. Be careful not to log in with your username and password.

  11. Chris says:

    The Wikipedia proxy is manna from heaven, though … thanks!

  12. Ryan says:

    Yeah, I noticed it wasn’t working for me either. Anyone have an update for the LJ IP?

  13. Martin says:

    Hi,
    this works like a charm here in China – in the shadows of the Great Firewall…
    Thanks again to Ryan and all others for helping out.
    I also use Firefox (of course) and encourage all friends to use it too… but sometimes need the one convincing argument to switch to Firefox. I know it is better and so, but I would like some ideas as to what can move people and convince them to try it…

  14. Jason S says:

    Okay, I’m the only one who seems not to be able to get this to work.
    Now, I’m no genius, but I know how to follow instructions (Man, I will likely eat those words), but has anyone had ANY problem with this? I’m quite sure I’ve done everything correctly, but I still can’t seem to get it to work.
    Any pointers?
    (I am making sure that the file isn’t saved as a .txt file by the way)

  15. Ryan says:

    I don’t know Jason, it worked fine for me as advertised. You’re welcome to e-mail me and I can try and walk you through it.

  16. Debbie says:

    Hi Ryan – I am using a Macbook (a new user not that familiar with root directories) therefore could you help me by explaining where I should put the .pac file.

    Also, I am assuming the
    ‘file:///C:/proxy.pac’ sentence will need to be different as I don’t have a ‘c drive’. Do you know what it should be for Mac?

    Thanks
    Debbie

  17. Steven says:

    @Debbie,

    Ryan asked me to repond to this. i’ve tried to get it working a few days ago, and again just now, but to no avail. as far as i can tell, putting that file in the mac root directory is simply:

    file:///proxy.pac/

    but that didn’t work for me. I also tried putting the file inside my own user’s library (/Users/myusername/Library/) but that bore no fruit either.

    not sure where i’ve gone wrong. since i have a blogspot blog, and read many others, it’d be nice to sort it out… any advice from more seasoned mac veterans?

  18. Thalia says:

    Mac Users… See the comment above from “Literally the Fastest GFW Workaround Theoretically Possible « The Weifang Radish” (Ironically the site is behind the GFW–so use a proxy like Tor or Iphide.com)

    Kevin outlines how to make it work for Mac.

  19. Ryan says:

    Hey Thalia (and Kevin, of course), you’re a hero. Cheers!

  20. christy says:

    its fantastic now that i can access to blogspot! :) thks! tis is totally brilliant!

    but can anyone advise me on how do i access xanga as well?

    thks! :)

  21. Damien says:

    Thx bud, this is working like a charm. (for blogspot at least)

  22. Åsa says:

    Hi

    I have tried this and followed the instructions, but I can’t get it to work. I have a blogspot blog which would be nice to be able to access, read commments etc. But I have saved the file as a .pac and done everything else according to the instructions. Is there anyone who have an idea what I could have done wrong? I would really appreciate some help!

  23. Ruth says:

    Thanks for this! It worked wonderfully for blogspot — however it doesn’t work for livejournal. Does anyone know another way to get to livejournal? I’m not that computer savy so if you could write detailed instructions like the one above that would be very helpful. Thanks.

  24. joe says:

    many thanks, you are playing a critical role.

    any idea how to get around googlepages.com / pages.google.com which are also blocked?

    all the best,

    joe

  25. Kevin says:

    is there some work around for googlepages.com ? That’s the page that i use for my exporting business. I can access it in chongqing, but i came to shenzhen and that entire domain is blocked.

  26. Kevin says:

    the interesting thing is that for 3 days, googlepages.com was unblocked. LOL!
    Isn’t that weird?

  27. Ryan says:

    Good question Kevin. There must be a similar IP switch that can be done. Unfortunately, I’ve no idea how the boys original found those alternative IPs.

  28. Andrew Strauss says:

    Good Stuff :)

  29. Kevin says:

    new news on the googlepages.com domain. They unblocked it today. But not really ;)
    LOL

    you can login, you can view….you can’t upload or edit….
    :(

  30. Scott says:

    I know Flickr seems to be the most popular photo site, but I’ve been using Webshots, which unfortunately seems to have been blocked recently. Any word on a work-around for this?

    http://www.webshots.com

  31. Keir says:

    Fascists have now rendered proxy.pac invalid now. Damn this!

  32. Ryan says:

    The proxy.pac thing still works for blogspot and wordpress.com – but yeah, Wikipedia is out.

  33. Mark says:

    OK, I am bamboozled. Ryan’s directions instruct the following: “In Firefox, click Tools->Options->Advanced->Network->Settings… fill the text below in the blank under “Automatic proxy configuration URL”

    My Firefox Tools has no ‘options’ section, and I can’t find anything that would be similar. I’m using 1.0.7 on a Mac.

    Please help! I too seek liberation beyond these walls.

  34. Ryan says:

    Hey Mark, the instructions were for a PC. Check out this comment for a link to the Mac instructions.

  35. Mark says:

    Thanks, Ryan. I missed it on the Weifang Radish the first time. Blogger now seems available, but alas, wordpress does not (my preferred service). Thanks though!

  36. Rick says:

    Any chance on getting a workable proxy for youtube on that list?

  37. Emily says:

    Hi,
    I am new to China and also trying to set up blogger blog up using the directions but am unable to access the link for MAC user directions posted above. Can anyone spell out how to do this on a MAC?
    I don’t know why I can’t access the link…

  38. qingze says:

    hi, i am a singaporean in shanghai. i want to ask why despite folloing your insturctions, i still can’t view blogger

  39. Ryan says:

    @Qingze: Because you’re from Singapore.

    ;-) Really, not sure. The fix still works for Blogger blogs, as I’m using it currently. Just be sure to follow the instructions word for word.

  40. qingze says:

    ok, thanks, i found a problem in my actions, but wikipedia is still unavailable

  41. peruisay says:

    I use a lot of public computers, and I run Portable Firefox off of a USB thumb drive. I can’t just point Firefox to C://proxy.pac, since the drive letter assigned to the thumb drive is always changing.

    Any clue on how I could get this fix to work off of a thumb drive?

  42. Ryan says:

    You could try a relative path… so instead of having:

    file:///C:/proxy.pac

    you could try:

    file:////proxy.pac

    I’m not certain it will work, as I’m not sure how Firefox is fetching the file, but worth a go.

  43. squareface says:

    thank you thank you thank you!!!

  44. indra says:

    i very interesting for your blog

  45. Sunny Chow says:

    Thanks so much for this little work-around! This script should also work wonderfully for accessing flickr as well.

    Is the wikipedia proxy still alive? I can’t seem to be able to ping it…

  46. Sunny Chow says:

    Doh. Redirecting IPs don’t work for Flickr. Seems like http header tags will need to be changed as well. Oh well, at least we have the Access Flickr plugin.

  47. shun says:

    NOW IT DON’T WORK ANYMORE!

  48. Ryan says:

    Sorry, please simply produce your receipt for a full refund.

  49. Jeremy says:

    Yeah, I don’ think it works now. I’ve tried it a few times just now.

  50. Helga says:

    I have been living in China for the last 8 months and finally I can get to my LJ – thanks a lot! (mind you, Russian part of LJ also works fine for posting and updating photos). Now I’m trying to get to my friends’ page but it keeps showing errors. Is it possible to get it fixed? please heeeelp!

  51. Ryan says:

    I just re-installed this hack on a new system and though the LJ and Wikipedia entries don’t work – both the WordPress and Blogspot items do.

  52. Jeremy says:

    where is the new hack ?

  53. Ryan says:

    @Jeremy: What new hack? The original proxy.pac file in this post still works for Blogspot/Blogger and WordPress.com. It doesn’t work for Wikipedia or Livejournal though. See the link at the start of the post for detailed instructions on how to install the hack.

  54. Silver says:

    Thank you so so so so much!!
    It works!

  55. Silver says:

    Since china had already lifts ban on wikipedia, continue the proxy on wikipedia will somehow fail to load the page.
    Just simply delete the phrase
    ” if(dnsDomainIs(host, “.wikipedia.org”)){
    return “PROXY 66.230.200.101:80″;”
    from the proxy.pac will do.

    Same goes to livejournal =)

  56. Anna says:

    I use xanga…do you have a fix for that? Thanks!

  57. Kim says:

    Perfect! Thank you very much, far better than using those proxy servers.

  58. Jasper says:

    Ryan, thanks a lot for the work-around! This is my first time in China and I’m glad that I’m not stuck with having to forgo access to my blog or having to deal with routing services. Occasionally, I am unable to login to wordpress, although the viewing blogs is still fine. Has anyone else encountered such a problem?

  59. Danielle says:

    Forgive me if I’m being utterly clueless right now..

    Silver said that China lifted the ban on Livejournal, but I still can’t access it. Since Silver said this almost two months ago, does anyone know if it’s still blocked? I haven’t tried the code yet since I’m on a borrowed computer and don’t want to screw something up. Any help? :]

  60. Ryan says:

    @Anna: No, sorry. This hack doesn’t work for Xanga blogs.

    @Jasper: You can’t login to the WordPress.com site with this hack installed?

    @Danielle: It would appear that LiveJournal is still blocked, and unfortunately this hack wont fix the block.

  61. morgan says:

    need to access blogspot from work in central america…however I don’t have access to the root, only mydocuments (where I have full access, and installed firefox). Any suggestions?

  62. Ryan says:

    @Morgan: You should be able to just change:

    file:///C:/proxy.pac

    to whatever path you can use. Simply save the proxy.pac file to your My Documents folder, and then get the full path to that folder (in relation to C:\) and format it like the above line… I don’t use XP, so am not 100% on the path, but it is likely something like:

    file:///C:/Documents%20and%20Settings/[user name]/My%20Documents/proxy.pac

    Where [user name] is replaced by your user name on the PC. This, of course, assumes your My Documents (and Windows) are installed on the C: drive – if that’s not the case, just adjust the path accordingly.

  63. FyreVortex says:

    The workaround for the wordpress works, but it doesn’t let me log in, since it uses https:// and I can’t get in. I can view my uncompleted wordpress, but I can’t log in, because of the https://.

    Is there a work around?

  64. Kashyap says:

    It does not seem to work for me. Iam in India, and am using firefox 3. i have put the proxy.pac file in C:\Program Files\Mozilla Firefox and in the automatic proxy URL thing i have entered file:///C:/Program%20Files/Mozilla%20Firefox/proxy.pac but still it says connection timed out when i access blogspots. please help!!

  65. Newbie says:

    Hi Ryan – any ideas on this in 2009? I’ve just tried it for WordPress but with no luck….

  66. Ryan says:

    @Newbie: I’ve not tried this work around in ages. My suggestion would be to get yourself hooked up with a Virtual Private Network (VPN). A good free option is Hot Spot Shield, but in my experience it’s a bit slow. Personally I use WiTopia, which is very fast (it’s cheap, but not free).

  67. Cherry says:

    I’ve just tried it for blogspot.com, but it didn’t work, do you have other ideas? I’m in China.

  68. Ryan says:

    Cherry – see the comment above yours (or the rather striking UPDATE box in the original post) for alternatives.

  69. Keir says:

    This is a big problem for me as I teach history and was working on two sites hosted by Blogspot for my classes. Ultrasurf I find is best, but as I use lots of images they don’t all load. HotSpot Sheild takes ages and also doesn’t load everything. Proxy.pac was the best option but now no longer works (I’m not technically-minded so maybe there is a way and I’m not savvy enough).
    The problem with Ultrasurf for youtube is it constantly tells me an error has prevented files from loading and to try again; with proxy.pac I was able to use the file for all sites. Has anyone a new code to replace my old .pac file?
    Thanks for keeping these comments alive, Ryan.

  70. Mat says:

    I was in china a couple of months and the Hotspot Shield would work fine, but now nothing… i cannot access blogs or youtube…

    Any ideas?

  71. Ryan says:

    @Mat: See the note at the top of the page. I’ve yet to hear of a free version, but the WiTopia VPN works.

  72. Keir says:

    I’m using WiTopia now (took me three attempts to open the page for some reason). Works great at home but is so slow at work I’ve given up which pretty much defeats the point when your work is a school and you’re primarily worried about getting your kids a real education (ie- not spending the day outside pretending you’re a wall with your arms outstretched).
    I pay $60 p.a.; there is another version at half the price but I was told it could easily be disabled by the regime.

  73. Ryan says:

    @Keir: It may be that your school is already using some sort of proxy/firewall to control what sites are able to be accessed. I’ve had a few friends say they’ve had trouble at companies with proxies of some sort.

    And yeah, I believe the first, and cheaper option at WiTopia is using similar tech as Hot Spot Shield, which might explain why HSS is no longer working.

  74. michael says:

    how does witopia verify your account? i.e. could i have both my laptop and desktop online at the same time?

  75. Freedur is just the best option I’ve tried so far, easy setup. I’ve gone from trying as many free proxies and they’re all just such a hassle to use, especially because if you’re going to try proxy sites they eventually get blocked. Besides, China’s blocked the many popular ones already so I just decided to move away from proxy sites.

  76. chris says:

    Just wanted to say that I’m in the process of setting up a VPN with strong VPN, and they are really helpful, especially for people who don’t know how to use computers well. They have 24/7 live chat, which is really really nice, and they will set up the VPN remotely if need be. I’ve never used a VPN and until a few days ago i didn’t even know what it was, so I won’t have anything to compare them too, but so far they’ve really been wonderful.

  77. Mike says:

    Good advice. I am using Witopia now and am hoping that this allows me the freedom of continuing my wordpress blog no matter what censorship happens in the future.

Trackbacks/Pingbacks

Leave a Reply

Please review our Comment Policy before submitting. Submission indicates agreement and adherence to this policy.

Privacy Policy | China News | China Blogs | China Expat Blog

Copyright © 2006-2012 Lost Laowai China Blog, All Rights Reserved. Design by Dao By Design