Run a website in fullscreen mode

You can’t force a website to display in fullscreen mode.

Imagine the security concerns if that were possible.
Malicious websites could “Hijack” a less computer literate person’s desktop for all kinds of dubious business.

All of JS fullscreen api’s will throw a error like this:
"Failed to execute 'requestFullScreen' on 'Element': API can only be initiated by a user gesture."
If you try to simply call it from your code.

I’m pretty darn sure Flash is similar, in that it requires user interaction to go fullscreen. Otherwise, we’d have seen our fair share of fullscreen popups that are nearly impossible to close.

Leave a Comment