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

window.open(url, '_blank'); not working on livepreview
You switched accounts on another tab or window. Reload to refresh your session. ... Ive built a web page with mutiple buttons. Each clicked button must be opened in a new tab. ... However it works 100% but on browers firefox and chrome. It does not work on livepreview any solution? More on github.com
🌐 github.com
3
July 15, 2023
window.open(url, '_blank'); not working on iMac/Safari
I've build a web page that let's you select a page name from a drop down list and then transfers the browser to that page. The code that does the transfer is if (url){ window.open(url, '_blank... More on stackoverflow.com
🌐 stackoverflow.com
Could not access window created using window.open('about:blank' .... code
Hej, I found weird behavior in firefox-iOS, while opening new window/popup using about:blank new window created by browser is not accessible and this is happening in Firefox-iOS only not in safari. To make long story sort i created demo ... More on github.com
🌐 github.com
11
March 2, 2017
Trying to open URL in new tab - target _blank not working | OutSystems
Trying to open URL in new tab - target _blank not working More on outsystems.com
🌐 outsystems.com
🌐
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 » · Open multiple tabs: window.open("http://www.google.com/"); window.open("https://www.w3schools.com/"); Try it Yourself » ·
🌐
GitHub
github.com › microsoft › vscode-livepreview › issues › 531
window.open(url, '_blank'); not working on livepreview · Issue #531 · microsoft/vscode-livepreview
July 15, 2023 - Ive built a web page with mutiple buttons. Each clicked button must be opened in a new tab. This the js code function newWindow(url) { window.open(url, '_blank'); } url is page selected. However it works 100% but on browers firefox and c...
Author   BandarAI
🌐
Mozilla Support
support.mozilla.org › en-US › questions › 1165910
window.open using _blank open in same window | Firefox Support Forum | Mozilla Support
June 27, 2017 - A simple bit of java script that has worked for the last 10 years stopped working correctly on the latest Firefox update. The simple use of window.open( URL , "_blank") which will open the link in another tab, has stopped opening another tab and now open the link in the same window as the java script is running in. ... Might point out the link dose not return a HTML page, it returns a excel spread sheet..
🌐
GitHub
github.com › mozilla-mobile › firefox-ios › issues › 2481
Could not access window created using window.open('about:blank' .... code · Issue #2481 · mozilla-mobile/firefox-ios
March 2, 2017 - [Code:javascript] var win = window.open('about:blank','windownamenew','width=1,height=1,left=5,top=3'); setTimeout(function() { win.close();}, 3000); [Code:end] purpose of above code is to create new window and then close it after few seconds. but it not behave proper in firefox. here is a video to demonstrate. https://drive.google.com/file/d/0B7fztZykJUJMcldoRHB6QTBLSUE/view?usp=sharing OR firefoxBug.zip · In it you can see that safari works fine but in firefox it not.
Author   bhavnapanchal
Find elsewhere
🌐
Webmaster World
webmasterworld.com › html › 4683942.htm
Target=“ blank” vs window.open - HTML forum at WebmasterWorld - WebmasterWorld
When JavaScript is turned off it will still work. Speaking of which. Can someone add Target=“ _blank” to in-post links at WW. Sometimes I click and then close it. And realize I just closed the thread tab. Plus, it's good user experience to have it opened in parallel to see what's the thread is about. ... Popups are for content that is intended to be viewed temporarily and then closed, like an image close-up or a Terms and Conditions window.
🌐
Stack Overflow
stackoverflow.com › questions › 52327790 › firefox-window-openaboutblank-doesnt-open-blank-tab
Firefox window.open("about:blank") doesn't open blank tab
Try with empty string "" instead of "about:blank". var x = window.open(""); x.document.write('<script>console.log("hello injected world")</script>'); It will work in both Chrome and Firefox, but it depends your browser is not blocking pop ups
🌐
Royal Apps
support.royalapps.com › support › discussions › topics › 17000016447
Difference between target=_blank and window.open : Royal Apps
In Web Page plugin, when TSX is full screen, when a popup window opened because of a target=_blank attribute (or right click / Open in New Window), it is opened in full screen. However, a call to window.open opens a popup window in the same space, on top of TSX window.
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 1338406 › does-edge-browser-no-longer-support-using-blank-to
Does Edge browser no longer support using "_blank" to open a new Edge window? - Microsoft Q&A
If you need to open it as a new window, you need to define it as a popup. Something like this: const windowFeatures = "left=100,top=100,width=320,height=320"; const handle = window.open( "https://www.mozilla.org/", "mozillaWindow", windowFeatures, );
🌐
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?
🌐
Stack Overflow
stackoverflow.com › q › 22037405
javascript window.open not working when targeting _blank - Stack Overflow
February 26, 2014 - Maybe you should consider using a nice popup-like jquery plugin like Fancybox. This won't be blocked by your browser, since it's not a real popup. You can write window.open('/login') instead of window.open('/login', '_blank').
🌐
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 got an error trying your code exactly as you have it. When I took out the semicolon after the link in the window.open parameter list [window.open(&quot; http://www.google.com&quot;;,...)] it worked just fine. Also, just in case, make sure your title doesn't have any space in it.