Specify window "features" to the open call:

window.open(url, windowName, "height=200,width=200");

When you specify a width/height, it will open it in a new window instead of a tab.

See https://developer.mozilla.org/en-US/docs/Web/API/Window.open#Position_and_size_features for all the possible features.

Answer from DNS on Stack Overflow
🌐
W3Schools
w3schools.com › jsref › met_win_open.asp
Window open() Method
window.open("http://www.google.com/"); window.open("https://www.w3schools.com/"); Try it Yourself » · Open a new window.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › API › Window › open
Window: open() method - Web APIs | MDN
Note: open() calls cannot be used to register an attribution trigger. ... By default, window.open opens the page in a new tab. If popup is set to true, it requests that a minimal popup window be used. The UI features included in the popup window will be automatically decided by the browser, generally including an address bar only.
🌐
OutSystems
outsystems.com › forums › discussion › 65977 › open-link-in-a-new-window-not-tab
Open link in a new window (NOT TAB) | OutSystems
I have a link on my page, and I want it to open it in a new window (not a new tab) when clicking it. Currently, this link points to a new screen action, and in this new screen action I have a RunJavaScript server action with the following script: · However, it still open the link in new tab ...
🌐
Reddit
reddit.com › r/chrome_extensions › open new window (not new tab)?
r/chrome_extensions on Reddit: Open new window (not new tab)?
May 17, 2025 -

I'm trying to have a new window opened from the extension popup, but the best I can get is a new tab.. js that would work fine on a normal html page window.open("https://website.com", "aaaaa", "width=500,height=500") just opens a new tab instead when ran from the extension popup is there some special way with chrome.tabs API or whatever..? I tried looking online but all the code I could find (even stuff specifically for manifest v3 or whatever) didn't do anything at all.

🌐
JSFiddle
jsfiddle.net › tompryor › 3Bd8s
Open New Browser Window (not tab) w/closure - JSFiddle - Code Playground
Just open the Coder Fonts mini-app from the sidebar or from Editor settings. My current favorites are Input and Commit Mono. Our CSS Flexbox generator lets you create a layout, and skip knowing the confusing properties and value names (let's be honest the W3C did not make a good job here).
🌐
GitHub
gist.github.com › 3427328
jquery open new window NOT tab in Chrome · GitHub
jquery open new window NOT tab in Chrome. GitHub Gist: instantly share code, notes, and snippets.
🌐
Webmaster World
webmasterworld.com › html › 4064011.htm
Forcing new tab (not window) using javascript? - HTML forum at WebmasterWorld - WebmasterWorld
JavaScript opens a new window; TARGET attrib alone opens a new tab. This appears to be the default behaviour. IE8 and Safari open a new window in both cases (at least by default).
Find elsewhere
🌐
JavaScript.info
javascript.info › tutorial › frames and windows
Popups and window methods
Most modern browsers are configured to open url in new tabs instead of separate windows. Popups exist from really ancient times. The initial idea was to show another content without closing the main window. As of now, there are other ways to do that: we can load content dynamically with fetch and show it in a dynamically generated <div>. So, popups is not ...
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › how-to-open-url-in-a-new-window-using-javascript
How to open URL in a new window using JavaScript? - GeeksforGeeks
August 21, 2025 - The anchor tag (<a>) can also be utilized with JavaScript to open URLs in new windows or tabs. By specifying target="_blank", the link will open in a new tab.
🌐
Kriesi
kriesi.at › home › topics › enfold › open in new window (not tab)
Open in new window (not tab) - Support | Kriesi.at - Premium WordPress Themes
September 20, 2015 - It might be a problem with the ” and ‘. Can you please give a correct example of a [av_image_spot] code that contains a onclick javascript part? Thanks in advance! ... That code won’t work because the av_image_spot shortcode doesn’t support such attribute (onclick). One thing you can do is use the included popup script to make the content open as a lightbox, you can activate it on a link by simply adding ?iframe=true at the end:
🌐
WebDeveloper.com
webdeveloper.com › community › 280955-trying-to-get-google-chrome-to-open-a-new-tab-instead-of-a-new-window-using-js
Trying to get Google Chrome to open a new tab instead of a new window using JS
I know that Chrome has limited options for tab preferences and I’ve read solutions such as “right click and select new tab” or “install an extension” but bear in mind we’re talking about user interaction here and they are not going to want to install extensions and they may not always read a line that says “Oh, don’t forget to right click and choose new tab!” because this will bypass my ajax call. Hope that’s clear! I tend to ramble a lot, so if anyone wants me to clarify something please ask. Any help much appreciated! ... After a simple Ajax call, it grabs the website that is required and then runs the following: [CODE]window.open(website,'_newtab');[/CODE] [/QUOTE]Presumably you're calling window.open in a readystatechange handler.
🌐
Zipy
zipy.ai › blog › how-to-open-a-url-in-a-new-tab-and-not-a-new-window
how to open a url in a new tab (and not a new window)
April 12, 2024 - JavaScript stands at the core of dynamic web development, offering a plethora of methods to manipulate the DOM and control the browser's behavior. One such capability is opening URLs in new tabs using the window.open() method.
🌐
University of New Mexico
unm.edu › ~tbeach › IT145 › week13 › example10.html
Javascript Opening Windows
<p>Let's open a new window with this <a href="javascript:location='example10.html'; window.open('../index.html', 'demo1','height=400,width=500,top=50,left=50,scrollbars=yes,toolbar=yes,status=yes,menubar=yes,location=yes,resizable=yes')">link</a>.</p> (Note that the defaults for all of those 'browser chrome' settings is yes, so you can leave them out if you don't want to say no for them.