tags:

views:

64

answers:

3

Hello,

I'm developing a web application and to improve the user experience I wish to switch the browser in fullscreen mode. Any ideas how to do this (except asking the user to do it himself)?

+1  A: 

Its not possible. If you really want it, you have to open a new window:

var win = window.open('html.file', 'Name', 'fullscreen=true');

Digital Human
Indeed this is not possible for security reasons. I don't wish to do automatic fullscreen, but triggering by clicking on a button. Seems that the only way to enter fullscreen mode is by pressing F11.
SileNT
A: 

You can't do full screen but you can just resize the window to the available width and height of the screen.

spinon
+1  A: 
Javascript.resizeTo(screen.width,screen.height)
NM