I would like to be able to resize the browser window with JavaScript. I don’t want to use jQuery, and the smaller the code the better, but it has to work in all of the major browsers including Chrome.
Any solutions?
Thanks for the help!
P.S. The tags that this question was tagged with should be combined but I don’t know how.
browser ———–same as–> webbrowser
cross-browser—-same as–> browser compatibility
window.resizeTo( width, height );
The problem you may face is modern day browsers can prevent you in the settings to not be able to resize the window. There is no way around that.
Chrome will not allow it. Won’t Fix Bug
IE is based on security zones