title: How a bookmarklet can avoid the popup blocker
body: <p>I wrote a bookmarklet for quickly translating selected text using Google Translator in a popup window:</p>
  
  <pre><code>javascript:(function(){
      var text = encodeURI(document.getSelection());
      if (!text.length) {
          text = prompt('Texto')
      }
      var url = 'http://translate.google.com/translate_t?hl=&amp;ie=UTF-8&amp;text=' + text + ' &amp;sl=es&amp;tl=pt#';
      window.open(url,'trans','left=20,top=20,width=1000,height=500,toolbar=0,location=0,resizable=1');
  })();
  </code></pre>
  
  <p>However, the Firefox popup blocker does not allow the new window to be opened. I can add exceptions for every site where I use the popup, but it can be pretty annoying...</p>
  
  <p>I thought bookmarklets could open popup windows - actually, a lot of them do it, right? What am I doing wrong? Or is it not possible to do it?</p>