搜尋 Mozilla 技術支援網站

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

了解更多

Who do we query at Mozilla to bring back SPACE and SEPERATOR buttons?!

  • 8 回覆
  • 3 有這個問題
  • 6 次檢視
  • 最近回覆由 enigma9o7

more options

Having to use Classic Theme Restorer is an inconvenience that brings about other unwanted changes. We're just talking about the addition of a space and separator button. I understand the desire to refresh the look of Firefox, but certain customization options should be left alone. It's harder to be a loyal user when one has to constantly implement workarounds. Thanks.

Having to use Classic Theme Restorer is an inconvenience that brings about other unwanted changes. We're just talking about the addition of a space and separator button. I understand the desire to refresh the look of Firefox, but certain customization options should be left alone. It's harder to be a loyal user when one has to constantly implement workarounds. Thanks.

被選擇的解決方法

Note that flexible space and separators are still supported in current Firefox releases. They are only not present in the Customize palette and you would have to install or enable an extension like CTR to have them present in the Customize palette. Once you have dragged them on a toolbar then you can disable CTR and you should still see those items on the toolbar (but no longer in the Customize palette) after you have restarted Firefox.

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

所有回覆 (8)

more options
more options

選擇的解決方法

Note that flexible space and separators are still supported in current Firefox releases. They are only not present in the Customize palette and you would have to install or enable an extension like CTR to have them present in the Customize palette. Once you have dragged them on a toolbar then you can disable CTR and you should still see those items on the toolbar (but no longer in the Customize palette) after you have restarted Firefox.

more options

Thanks a lot.

more options

Thanks for the quick reply and good info.

more options

I did some testing and placed some separators and spaces on the Bookmarks Toolbar and the Navigation Toolbar. Once they are on a toolbar then I can still move them around on a toolbar.

The browser.uiCustomization.state pref shows them as special items with a number appended.

"customizableui-special-separator##"
"customizableui-special-spacer##"
"customizableui-special-spring##"

You can open the Scratchpad (Firefox/Tools > Web Developer) and paste the value of the browser.uiCustomization.state pref. Click the "Pretty Print" button to format the one-line text for readability.

    'PersonalToolbar': [
      'personal-bookmarks',
      'customizableui-special-separator188',
      'customizableui-special-spacer101",
      'sidebar-button',
      'customizableui-special-spacer102",
      'customizableui-special-separator187',
      'panic-button',
      'customizableui-special-spring186',
      'ctraddon_bookmarks-menu-toolbar-button'
    ],

34 const kSpecialWidgetPfx = "customizableui-special-";

1179   isSpecialWidget: function(aId) {
1180     return (aId.startsWith(kSpecialWidgetPfx) ||
1181             aId.startsWith("separator") ||
1182             aId.startsWith("spring") ||
1183             aId.startsWith("spacer"));
1184   },

由 cor-el 於 修改

more options

cor-el said

I did some testing and placed some separators and spaces on the Bookmarks Toolbar and the Navigation Toolbar. Once they are on a toolbar then I can still move them around on a toolbar.

Hi. I think you're posting a way to fix this, but I don't understand what to do. I open the scratchpad. What exactly to I paste there?

I pasted

'PersonalToolbar': [
     'personal-bookmarks',
     'customizableui-special-separator188',
     'customizableui-special-spacer101",
     'sidebar-button',
     'customizableui-special-spacer102",
     'customizableui-special-separator187',
     'panic-button',
     'customizableui-special-spring186',
     'ctraddon_bookmarks-menu-toolbar-button'
   ],

Then clicked pretty print, but that didn't bring back the space. Can you provide step-by-step instructions, I'm sure I'm just missing something but not at all familiar with what you're doing.

more options

You shouldn't do the pasting in the Scratchpad, but do this on the about:config page after you have clicked Modify in the right-click context menu. The Scratchpad works with single quotes for some reason if you click "Pretty Print", but the value stored in the pref uses double quotes. So you need to paste "customizableui-special-separator188" in the pref value with double quotes just before the 'personal-bookmarks" entry.

The Scratchpad is only useful in this case to inspect the value of the pref.


The "PersonalToolbar" entry should look like this if you only have "Bookmarks Toolbar items" on the Bookmarks Toolbar. The actual number thatis appended (186 in this case) doesn't matter as long as all customizableui-special items in the pref value have a unique number.

"PersonalToolbar":["customizableui-special-spring186","personal-bookmarks"]
more options

Thanks much! I actually figured it out. I was doing it on the menu bar (not personal toolbar) but works like a charm.

由 enigma9o7 於 修改