How to implement exact full screen mode in javascript?

I tried a How to make a full-screen window mode with Javascript (stretching across the screen) ,

but it does not work.

EDIT

I mean, it should fill my entire computer with full screen.

+1
source share
1 answer

Like this:

alert("Please press F11");

It is not possible to fully create a full-screen window in Javascript.

The closest thing you can do is to open a pop-up window and pray that it is not blocked by pop-up blockers, for example:

open("http://google.com", null, 
  "height=" + screen.availHeight + ",width=" + screen.availWidth + ",status=no,toolbar=no,menubar=no,location=no")
+4
source

All Articles