I have a code that opens a new window with specific height and width. I would prefer, if possible, to open a new tab instead of a new window, but still being able to specify the height and width of the new tab. Is that possible?
<html>
<head>
</head>
<body>
<input type="button" onclick='var myW=window.open
("http://www.google.com/", "mywindow", "width = " + window.screen.width + ", height = " + window.screen.width / 3 + "");'>
</body>
</html>