Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

How to disable tabs in titlebar for all users?

  • 4 ответа
  • 2 имеют эту проблему
  • 88 просмотров
  • Последний ответ от 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);