Skip to content Skip to sidebar Skip to footer

Firefox : Force Full-screen Mode From Webpage

I am developing a web-based database that needs to be opened through firefox web browser(because of some css3 elements). I want the page to open automatically in full screen mode.

Solution 1:

Can't be done if you just have control of the webpage. Controls in the webpage cannot cause changes in the browser instance itself.

It would be a security issue if that were allowed. You could look into writing a Firefox extension to do that, as they have more access to the browser instance itself.

You shouldn't look at trying to hide the firefox menu controls. That seems like a flaw in your problem-solving approach.


Solution 2:

You will want to look at Fullscreen APIs of the browser. If you accept a small request/info to the user in the application it can be done quite easily. You just can't force the user into Fullscreen mode against his will. This is good (for security reasons).

http://hacks.mozilla.org/2012/01/using-the-fullscreen-api-in-web-browsers/


Post a Comment for "Firefox : Force Full-screen Mode From Webpage"