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……..

2 Comments

  • 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.

  • .goog-te-banner-frame{visibility:hidden !important;}
    #body-main{top:0px !important;}

Comments have been disabled for this content.