html - JavaScript - open new window and display as a tab (chrome CTRL+N equivalent) -


i need open 'new window' using javascript. window must display page in new window tab instead of simple window.

window.open(     "http://google.co.za", null,     "toolbar=yes,titlebar=yes,status=yes,menubar=yes,fullscreen=yes,centerscreen=yes" ); 

produces window:

enter image description here

instead, i'm wondering if it's possible open new window tab inside: enter image description here

unfortunately, not possible. using window.open() can either open new window providing properties third parameter, have. opens basic browser url displayed.

or can open new tab within current browser not providing window properties in third parameter. consider following

window.open("http://google.com") 

adds new tab current browser.

from can tell, , have tested, not possible both.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -