title: Javascript window.open() function opens link without popup blocker
body: <p>Javascript <code>window.open()</code> function opens link without popup blocker, I want to open some links from javascript <code>window.open()</code> function but it get blocked on firefox, chrome, safari.</p>
  
  <p>How Can I unblock popup through javascript code so that it will opens up in new tab</p>
  
  <p>My code is:</p>
  
  <pre><code>    function GoUrl(id) {
          var string = 'select#' + id + ' option:selected';
          var value = $(string).val(); 
          if (value != "links") {enter code here
             window.open(value, '_blank'); 
              window.focus();
          }
  </code></pre>