搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to start FF4 in fullscreen mode without any extension?

  • 3 回覆
  • 11 有這個問題
  • 2 次檢視
  • 最近回覆由 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.

由 Xeno 於 修改

所有回覆 (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" />