I am working on a home project. When I start the PC, the html page automatically opens.
I want a javascript code to open the page in fullscreen mode. When I try to use code I get this message:
Failed to execute 'requestFullscreen' on 'Element': API can only be initiated by a user gesture.
I get it that it's for security, but I want this only on my localhost. Is there any way to bypass this security option locally? I am using Google Chrome.
Thanks!