How to start FF4 in fullscreen mode without any extension?
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.
Spremenil Xeno
Vsi odgovori (3)
buddy, if you can write an extension to help firefox 4.0 do pure full-screen browse mode, then nice of you.
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.
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" />