How to specify the size of the browser window? Perhaps through JavaScript or CSS . Just so that a new window does not open with the required size parameter (200x500 pixels), but so that, for example, the page is the right size in advance, and you can click the link with Google and the window would open with the specified size.

    1 answer 1

    You can change the window.outerWidth / window.outerHeight parameters, and you can also use:

      window.resizeTo(x, y);//Изменяет размеры окна к конкретным значениям window.resizeBy(x, y);//Изменяет размеры окна на конкретные значения