Remove Google Translator’s Top Frame

Hi,

A small tip that how to remove Google Translator’s Top frame when we translate any website using Google translator. I found one java script that i want to share with you.

<script type='text/javascript'>
if (window.top !== window.self) {window.top.location = window.self.location;}
</script>

The above script you need to copy and paste on the page which you want to translate.

Drawback : In this script one drawback is, It will work only for one language.

Hope helps you……..

Published Friday, April 29, 2011 4:13 PM by Rajneesh Verma

Comments

# Remove Google Translator???s Top Frame

Friday, April 29, 2011 3:20 PM by Remove Google Translator???s Top Frame

Pingback from  Remove Google Translator???s Top Frame

# re: Remove Google Translator’s Top Frame

Monday, June 06, 2011 7:28 AM by Nosh

Good it works It can also translate multiple languages unlike the drawback you mentioned above. BUT the drawback I see is when its translating that time you see the google translation running.

# re: Remove Google Translator’s Top Frame

Tuesday, November 01, 2011 5:50 PM by TheBozzMan

Take a look at the following blog post for how to translate one language and then another: easierthan.blogspot.com/.../code-tip-1-more-than-one-translation.html

# re: Remove Google Translator’s Top Frame

Wednesday, February 08, 2012 7:24 AM by jignesh

.goog-te-banner-frame{visibility:hidden !important;}

#body-main{top:0px !important;}

Leave a Comment

(required) 
(required) 
(optional)
(required)