Blogger hack: Change blogspot ban bypass proxy automatically to go through inblogs.net

Following the footsteps of Pakistan, India has also banned blogspot after the mumbai bombings. This generated in a lot of cross border blogger sympathy as us pakistanis have known what its like to be blocked.

Being of the nature that we are, Pakistani Bloggers sprang up to help out our indian brothers and sisters, with the knowledge of what we’ve gained in the last couple of months. This resulted in a new site being opened, called InBlogs.net which allows indian, pakistani and chineese users to bypass the ban on blogspot. It uses the same script as Pkblogs.com.

My previous greasemonkey script for firefox, which automatically changes all links to blogspot to go through pkblogs, was also mentioned and has witnessed increased pageviews. I’ll be publishing an update to that soon, which will make blogspot links to go through inblogs.net.

Then, pkblogs.com ran into a problem.. it just wouldnt show images embedded in posts.. and inblogs.net would… so now, we have to change all our links to make them go through inblogs….. a daunting and nearly impossible task. So i came up with a new solution. A blogger hack if you will. This script will check which URL was the blog accessed from, and then automatically make it go through the Inblogs.net site. Pretty neat no?

Here’s how u do it. Simply copy paste the following two lines just under the <head> tag on your blog template, change the variable ‘cpu_blogname’ to your blog’s name, save and republish your template. Voila! Now, all your images will be displayed as well and every user (no matter where they came from) will go through Inblogs.net

<script type=”text/javascript” src=”http://www.geocities.com/mansoor_adenwala/cpu.js”></script&gt;
<script>
  cpu_blogname = ‘wordofmansoor’;
  changeProxyUrl();
</script>

A note: This script will not work if the blog is accessed through blogspot.com in Pakistan, India or China (and other countries where blocking is enabled). It will work if its accessed through either a)pkblogs.com b)some other anonymizer

This script is open source, and you can use it, share it, modify it as you wish. Let me know how it works out for you.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: