How to make window opened in a small size(Window.open)?

There is here such here a script
$(document).on("click", "#auth", function () {
 win = window.open("/auth.php, "", "height=430,width=605,top="+((screen.height-430)/2)+",left="+((screen.width-605)/2)+",resizable=no,scrollbars=yes,status=no")
check();
 return false;
})

And there is actually a file auth.php and once on the page press "Login" instead, everything worked as written in the code, the page opens fully at a larger size, what to do?
June 8th 19 at 16:26
1 answer
June 8th 19 at 16:28
If you have the same code,it error
And so it is true. Line height and width which specify the size of the new window

Find more questions by tags HTMLJavaScript