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

Answer from Dennis Traub on Stack Overflow
🌐
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....
Discussions

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
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
0
November 10, 2017
self xss - Using window.open('',"_blank") can this be XSS exploited? - Information Security Stack Exchange
If I have javascript that opens a window using the code below, the content is a user supplied variable that is not sanatized. Is there any security risk in this situation. The content will only be ... More on security.stackexchange.com
🌐 security.stackexchange.com
July 12, 2023
🌐
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 »
🌐
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.
🌐
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.
🌐
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.
Find elsewhere
🌐
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.
🌐
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")
🌐
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
🌐
xjavascript
xjavascript.com › blog › how-to-add-target-blank-to-javascript-window-location
JavaScript Window.location: Why target="_blank" Isn't Working and How to Open Links in New Tabs — xjavascript.com
When JavaScript is necessary, window.open("_blank") is the go-to solution—just ensure it’s triggered by user interaction and paired with rel="noopener noreferrer" for security.
🌐
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.
🌐
Reintech
reintech.io › blog › tutorial-working-with-the-window-open-method
Working with the window.open() Method | Reintech media
January 13, 2026 - Please click to continue:</p> <a href="${url}" target="_blank" rel="noopener">Open in new tab</a> `; document.body.appendChild(fallbackMessage); return null; } return newWindow; } // Use within user event handler button.addEventListener('click', () => { openWindowWithFallback('https://www.example.com', 'width=800,height=600'); }); Different browsers handle window.open() with varying levels of strictness.
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › javascript-window-open-method
JavaScript window.open() Method - GeeksforGeeks
August 5, 2025 - Example 2: In this example, we will open a blank window by passing the URL as an empty string.