为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to disable tabs in titlebar for all users?

  • 4 个回答
  • 2 人有此问题
  • 34 次查看
  • 最后回复者为 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);