Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 3
    This is getting blocked as a popup in Firefox 28, Chrome 34b, and Safari 7.0.2, all stock settings. :( Commented Mar 27, 2014 at 13:39
  • 1
    "the new tab can not be opened if the action is not invoked by the user (clicking a button or something) or if it is asynchronous" - true of Chrome, but not true of all browsers. Save <script>open('http://google.com')</script> to a .html file and open it in a fresh install of a recent version of Firefox; you will observe that Firefox happily opens Google in a new tab (perhaps after you tell it to allow popups), not a new window. Commented May 15, 2016 at 21:53