搜尋 Mozilla 技術支援網站

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

了解更多

Large icons in full screen mode?

  • 3 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 intelity

more options

I currently run with large icons. When I use the full screen mode with toolbars enabled, the icons shrink to their smallest size. This happens with versions 4, 5 and 8 nightly; with default icons and any extensions or themes. Can anyone point me to what I need to change to stop the icons from going to the small version?

I currently run with large icons. When I use the full screen mode with toolbars enabled, the icons shrink to their smallest size. This happens with versions 4, 5 and 8 nightly; with default icons and any extensions or themes. Can anyone point me to what I need to change to stop the icons from going to the small version?

所有回覆 (3)

more options

Probably not.
The DOM Inspector shows that the current setup is saved and new attributes are created in full screen mode.

saved-mode="full"
saved-iconsize="large"
mode="icons"
iconsize="small"
inFullscreen="true"
more options

A possibility is to use a script like this in the Code field in the Error Console or with an extension that allows to run code with chrome permissions.


const Cc=Components.classes, Ci=Components.interfaces;
var wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator);
var mW = wm.getMostRecentWindow("navigator:browser");
mW.document.getElementById("nav-bar").setAttribute("iconsize","large");

more options

Thanks for the info. I could not get your code to work (my fault, I'm sure). I did however find a large icon'ed theme that did not shrink the buttons at all when I went to full screen. By looking at their code, I was able to make my own that had the same size buttons all the time. Thanks for your quick response and help.