搜尋 Mozilla 技術支援網站

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

了解更多

How to disable tabs in titlebar for all users?

  • 4 回覆
  • 2 有這個問題
  • 21 次檢視
  • 最近回覆由 eugeniy87

more options

I want to disable tabs in title bar for all users, because looks ugly http://i57.tinypic.com/33nkm77.png I type to C:\Program Files\Mozilla Firefox\defaults\pref\local-settings.js pref("browser.tabs.drawInTitlebar", false); It doesn't work, but any other options in this file works fine. Setting with about:config works fine, but only for currrent user.

I want to disable tabs in title bar for all users, because looks ugly http://i57.tinypic.com/33nkm77.png I type to C:\Program Files\Mozilla Firefox\defaults\pref\local-settings.js pref("browser.tabs.drawInTitlebar", false); It doesn't work, but any other options in this file works fine. Setting with about:config works fine, but only for currrent user.

被選擇的解決方法

Thanks to all. Problem solved. I should edit 2 files:

C:\Program Files\Mozilla Firefox\defaults\pref\local-settings.js pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg");

C:\Program Files\Mozilla Firefox\mozilla.cfg // lockPref("browser.tabs.drawInTitlebar", false);

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

I think that preference refers to what happens when you have Firefox maximized and you do not display either the classic menu bar or the title of the page in that area: the tabs slide up to the top.

I agree the double-high blue area is irritating. To modify that, I think you need to do one of these:

  • Change the Windows XP color theme (I always preferred Silver)
  • Create a custom style rule to modify the appearance of the tab bar (so the blue does not show through it)
  • Find a Firefox theme that fixes that area (e.g., https://addons.mozilla.org/firefox/themes/)

I haven't researched the second and third options in detail.

more options

By the way, I think the local-settings.js file generally points to a mozilla.cfg file. Maybe that will work?

http://kb.mozillazine.org/Locking_preferences

more options

You would have to use this content in the mozilla.cfg file.

//
lockPref("browser.tabs.drawInTitlebar", false);

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, but allow changes in current session
lockPref();	// lock pref, disallow changes

See also:

more options

選擇的解決方法

Thanks to all. Problem solved. I should edit 2 files:

C:\Program Files\Mozilla Firefox\defaults\pref\local-settings.js pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg");

C:\Program Files\Mozilla Firefox\mozilla.cfg // lockPref("browser.tabs.drawInTitlebar", false);