JavaScript Framebreaker for converting google image search results to real traffic
Have you ever wondered how to make the visitors who come from google image search to stay on your website? Its only yesterday I thought about this. On one of my new website, I was getting getting good traffic but no clicks and the bounce rate was too high. When I checked the analytics, I found out that most of the traffic I was getting was referred by google image search. There are merely little benefit from this to us webmasters.
Google image search is using some kind of frames to show the image. So people checks out the image and then leaves. I wanted to put an end to it and started searching for this. Then I found out there is something called frame breaker and using that, I can actually redirect those image search results to “my webpage with that particular image”, which is what exactly I needed. This way I can make people stay probably longer as they are visiting our website. Possibly this could reduce the bounce rate also.
If you’re using wordpress, there are some plugins which can do this for you.
One of them is: JavaScript Framebreaker
I was pretty sure that you can do this manually, so didn’t stop searching about this until I finally found how to do this.
So this is the code you would need to add to the header of your webpages.
<script language=”JavaScript” type=”text/javascript”>
function breakfree() { if ( top.location != self.location ) { top.location = self.location; } }
window.onload = breakfree();
</script>
Now once you implement this, people will get redirected to the webpage containing the image.


Do you know if image pages are like cached? I put this on my site, but it doesn't change anything. I'm wondering if Google has to reindex the page?
I don't think so. Just do a google image search and open the image result from your page and wait for some time after the result page loads completely. It will redirect you to your webpage!
Check it and let me know!
It doesn't seem to work anymore I guess.
Are you sure? because it works for me! :/
Check this: http://www.google.com/imgres?hl=en&safe=off&a…
Anyway if you're using wordpress blog, you can install this addon called javascript framebreaker instead of this!
Does anyone know if google will punish you for doing this? ie – drop you from the index? any downside at all?
blogger users please replace the qoutes in the code manually to work
Now ! frame breaker are of no use , since Google got new Google image layout