It's a setting in chrome. You can't control how the browser interprets the target _blank.

Answer from Dennis Traub on Stack Overflow
🌐
W3Schools
w3schools.com › jsref › met_win_open.asp
Window open() Method
window.open("https://www.w3schools.com", "_blank", "toolbar=yes,scrollbars=yes,resizable=yes,top=500,left=500,width=400,height=400"); Try it Yourself »
Discussions

How to open a blank tab and insert JS?
So i’m working on a side project which you can view here @ codepen --> https://codepen.io/Mike-was-here123/full/QOEGOj/ (not the best html, but it will do for now) Here is a run down of how it works to better help answer the question that i will ask. First it obtained the input number of ... More on forum.freecodecamp.org
🌐 forum.freecodecamp.org
0
November 10, 2017
window.open opens blank window not url I want
http://www.google.com, but for some reason it still won't work for me and I don't have a space in the title. Thanks though. And it is a popup window I'm trying to open. With a link to another page. But this could be the problem: my page is saved as a .asp page. More on tek-tips.com
🌐 tek-tips.com
4
0
August 5, 2003
Target=“_blank” vs window.open - HTML & CSS - SitePoint Forums | Web Development & Design Community
I’m working on an application where users enter some input and they shouldn’t leave the page when clicking on share links, e.g. a Facebook share link: Share on Facebook I know it’s very common to use popup windows for such links. But does it have any advantage over a simple ... More on sitepoint.com
🌐 sitepoint.com
0
June 30, 2014
Pop up a new window - Javascript, window.open and <a target="_blank"
Find answers to Pop up a new window - Javascript, window.open and More on experts-exchange.com
🌐 experts-exchange.com
June 5, 2002
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › API › Window › open
Window: open() method - Web APIs | MDN
The open() method of the Window ... indicating the URL or path of the resource to be loaded. If an empty string ("") is specified or this parameter is omitted, a blank page is opened into the targeted browsing context....
🌐
freeCodeCamp
forum.freecodecamp.org › t › how-to-open-a-blank-tab-and-insert-js › 158289
How to open a blank tab and insert JS? - The freeCodeCamp Forum
November 10, 2017 - So i’m working on a side project which you can view here @ codepen --> https://codepen.io/Mike-was-here123/full/QOEGOj/ (not the best html, but it will do for now) Here is a run down of how it works to better help answer the question that i will ask. First it obtained the input number of tab from the text box, and runs a for loop that, each interval, opens the current codepen, but on debug mode.
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › how-to-open-url-in-new-tab-using-javascript
How to Open URL in New Tab using JavaScript? - GeeksforGeeks
The window.open() method is used to open a new browser window or tab. It can also be used to load a specific URL in a new tab. Syntax · window.open(URL, '_blank'); window.open(): Opens a new tab or window.
Published   August 21, 2025
🌐
Tek-Tips
tek-tips.com › home › forums › software › programmers › web development › javascript
window.open opens blank window not url I want | Tek-Tips
August 5, 2003 - I have an onClick="emailfriend()"; that seems to call the emailfriend() function ok. But all I get is an empty window opening up, without the sizing or title. What's wrong with this? Please help. function emailfriend() { window.open("http://www.google.com&quot...
🌐
Webmaster World
webmasterworld.com › html › 4683942.htm
Target=“ blank” vs window.open - HTML forum at WebmasterWorld - WebmasterWorld
HTML doesn't distinguish between "new window" and "new tab". It depends on how chummy your users are with their browser's prefs. ... Can someone add Target=“ _blank” to in-post links at WW Middle Click? (or SHIFT + Middle Click?) What's the shortcut on Mac? The · target attribute requires a transitional DOCTYPE in HTML 4, but OK in HTML 5. ... Ctrl+Click works for Chrome. But when the post goes like "look at the graph, during the months of...", one assumes that the link will open in a new tab to have it checked out while reading the post.
Find elsewhere
🌐
SitePoint
sitepoint.com › html & css
Target=“_blank” vs window.open - HTML & CSS - SitePoint Forums | Web Development & Design Community
June 30, 2014 - I’m working on an application where users enter some input and they shouldn’t leave the page when clicking on share links, e.g. a Facebook share link: Share on Facebook I know it’s very common to use popup windows for such links. But does it have any advantage over a simple target=“_blank” attribute?
🌐
Experts Exchange
experts-exchange.com › questions › 20307983 › Pop-up-a-new-window-Javascript-window-open-and-a-target-blank.html
Solved: Pop up a new window - Javascript, window.open and <a target="_blank" | Experts Exchange
June 5, 2002 - Workaround gives solutions to keep the primary window open, and that is not my problem. EARN REWARDS FOR ASKING, ANSWERING, AND MORE. Earn free swag for participating on the platform. ... hello avner, you are right. It works for both the links. But, as i told above, the URL is not a normal HTML page. It is a ColdFusion Page, which gives the download file option. Here with i am giving my code. Following works fine. <a target="_blank" href="http://www.foo.com/index.cfm?fuseaction=modules.docman.dsp_read_file&file_uid=123456">Download File</a> followingdosentwork.
🌐
JsCraft
js-craft.io › home › window.open() and target=”_blank” have a security vulnerability
Window.open() and target="_blank" have a security vulnerability
January 20, 2023 - // in html <a href="www.google.com" target="_blank">open google</a> // in javascript window.open("www.google.com")
🌐
JavaScript.info
javascript.info › tutorial › frames and windows
Popups and window methods
A name of the new window. Each window has a window.name, and here we can specify which window to use for the popup. If there’s already a window with such name – the given URL opens in it, otherwise a new window is opened.
🌐
Experts Exchange
experts-exchange.com › questions › 20100714 › Removing-about-blank-when-opening-a-new-HTML-window.html
Solved: Removing about:blank when opening a new HTML window... | Experts Exchange
April 3, 2001 - After making some changes to eliminate the about:blank, I now get an Access is Denied error when I return to the original HTML page's window. Here is the latest code pertaining to the JavaScript: ------------ <script language="JavaScript"> function openWindow(URL) { var newwin = window.open(URL); newwin.moveTo(0,0); newwin.resizeTo(screen.ava
🌐
Javatpoint
javatpoint.com › javascript-window-open-method
JavaScript Window open method - javatpoint
JavaScript Window open method with javascript tutorial, introduction, javascript oops, application of javascript, loop, variable, objects, map, typedarray etc.
🌐
Educative
educative.io › answers › what-is-the-windowopen-method-in-javascript
What is the window.open() method in JavaScript?
Sometimes, for example, we may need to redirect to a page in our JavaScript code. ... The general syntax is described below. ... All parameters of this method are optional. If none is specified, the method will open a new blank browser window.
🌐
Oracle Community
community.oracle.com › tech › developers › discussion › 837500 › javascript-window-open-looses-current-page
javascript:window.open looses current page - Oracle Forums
November 18, 2022 - I have a print page that I want to open in a new window when the print button is pressed. I used the example javascript:window.open('http://www.oracle.com','_blank','toolbar=1,location=1,directories...
🌐
Javascript-coder
javascript-coder.com › window-popup › javascript-window-open
Using the window.open method | JavaScript Coder
<html> <head> <title>JavaScript Popup Example 3</title> </head> <script type="text/javascript"> function poponload() { testwindow = window.open("", "mywindow", "location=1,status=1,scrollbars=1,width=100,height=100"); testwindow.moveTo(0, 0); } </script> <body onload="javascript: poponload()"> <h1>JavaScript Popup Example 3</h1> </body> </html> Notice that the URL is kept blank.