title: what is the [object Window]?
body: <p>Google Translate, has some bookmark let for translate with 1 click, for example:</p>
  
  <pre><code>javascript:var t=((window.getSelection&amp;&amp;window.getSelection())||(document.getSelection&amp;&amp;document.getSelection())||(document.selection&amp;&amp;document.selection.createRange&amp;&amp;document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/?text='+t+'&amp;hl=en&amp;langpair=auto|en&amp;tbb=1&amp;ie='+e;}else{location.href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&amp;hl=en&amp;langpair=auto|en&amp;tbb=1&amp;ie='+e;};
  </code></pre>
  
  <p>This javascript code, opens the translator page in the current page (target=_self), but I want it opens a new window (tab) for translate. so changed to:</p>
  
  <pre><code>javascript:var t=((window.getSelection&amp;&amp;window.getSelection())||(document.getSelection&amp;&amp;document.getSelection())||(document.selection&amp;&amp;document.selection.createRange&amp;&amp;document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=''){window.open('http://translate.google.com/?text='+t+'&amp;hl=en&amp;langpair=auto|en&amp;tbb=1&amp;ie='+e);}else{window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&amp;hl=en&amp;langpair=auto|en&amp;tbb=1&amp;ie='+e);};
  </code></pre>
  
  <p>My problem is here: when I run that code, it opens a new window for translate, and do it; but the non-english page content replaced with <code>[object Window]</code>, but I don't want to change original page content ... </p>
  
  <p>What Can I DO?</p>
  
  <p>Thank you ..</p>