No no. The main DOM element itself does not support changing the width of the browser window. You can resize the content area (outer width / inner width). However, I do not think that this affects the size of the window, which you seem to want to achieve.
source
share