Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to start FF4 in fullscreen mode without any extension?

  • 3 cavab
  • 11 have this problem
  • 2 views
  • Last reply by cor-el

more options

I already called "BrowserFullScreen();" in browser.js:delayedStartup(), but then, the Firefoxwindow has an y-offset of -5 instead of 0. Already fixed this by adding 5 to gNavToolbox.style.marginTop. But afterwards, if I enter normale mode and fullscreen mode again via F11, I can see the NavToolbox (5 pixels).

Is there any nicer way? Probably there could be a feature request to start up FF4 in fullscreen mode.

I already called "BrowserFullScreen();" in browser.js:delayedStartup(), but then, the Firefoxwindow has an y-offset of -5 instead of 0. Already fixed this by adding 5 to gNavToolbox.style.marginTop. But afterwards, if I enter normale mode and fullscreen mode again via F11, I can see the NavToolbox (5 pixels). Is there any nicer way? Probably there could be a feature request to start up FF4 in fullscreen mode.

Modified by Xeno

All Replies (3)

more options

buddy, if you can write an extension to help firefox 4.0 do pure full-screen browse mode, then nice of you.

more options

The problem is: I do not want to write an extension, there are plenty of. I want this feature to be part of mainstream FF4. Or at least a good solution to patch it on my own. We are in the age of "the cloud", so I believe there are a few guys that also want to start FF4 in fullscreen mode.

more options

If you close Firefox 4 while in full screen mode the Firefox should start the next time in full screen mode.
That setting is stored in the file localstore.rdf in the profile folder in the #main-window section

<RDF:Description RDF:about="chrome://browser/content/browser.xul#main-window" 
sizemode="fullscreen" />