That might sound like a stupid one but I can't find anything relevant : how to maximize the window on
document ready with jquery ? Or any other generic solution that will work fine on all browsers...
Thanks guys ;)
window.moveTo(0, 0); window.resizeTo(screen.availWidth, screen.availHeight);
This is not possible for main windows, only for dynamic created windows( created with window.open)
The same of for chrome. Haven't checked IE/Safari though.
I found this method. But I can't make it work. Theoretically, it should be possible to change the width and height of the screen, using positive values.
For more information, visit http://www.w3schools.com/jsref/met_win_resizeby.asp.
You cannot do this
Control over the user's browser (minimize, maximize) is for the user only.
©2020 All rights reserved.