Give the window a 'specs' parameter with width/height.
(给窗口一个“ specs”参数,该参数具有width / height。)
See here for all the possible options.(有关所有可能的选项,请参见此处 。)
window.open(url, windowName, "height=200,width=200");
When you specify a width/height, it will open it in a new window instead of a tab.
(指定宽度/高度时,它将在新窗口(而不是选项卡)中打开它。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…