Posted By

eklemen on 01/31/14


Tagged

javascript window popup blocker


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Priestd09


Open URL in New Window (Without Triggering Pop-Up Blocker)


 / Published in: JavaScript
 

Javascript to open a URL in a new window without triggering a browser's pop-up blocker. (May not work in callbacks, but not sure why.)

  1. var newWin = window.open();
  2. newWin.location = href;

Report this snippet  

You need to login to post a comment.