full-screen browser window on load document

from https://wiki.mozilla.org/Gecko:FullScreenAPI#Suggested_UA_Policy

..requestFullScreen while the window is already in the full-screen state is approved.
Otherwise, requestFullScreen outside a user action (e.g. a non-synthesized input event handler) is denied.

so it’s not possible force a fullscreen if it’s not triggered by a user action

Leave a Comment