Vyhľadajte odpoveď

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Bookmarks Menu - why does the 'Manage Bookmarks' entry appears twice?

  • 5 odpovedí
  • 2 majú tento problém
  • 35 zobrazení
  • Posledná odpoveď od hutcheonke

more options

Thanks to Proton expanding my Bookmarks Menu off the bottom of the screen, I was re-arranging my bookmarks folders. While wondering which of my folders I had to prune, I noticed another in-built redundancy. The entry "Manage Bookmarks Ctrl+Shift+O" appears twice, at the top and the bottom of the menu. Incidentally the bottom entry is misaligned (Firefox v89 on Windows).

Is there a particular reasons for this duplication? Can I remove either of these entries?

Priložené obrázky

Vybrané riešenie

You only need to make a note (or copy) of the selector (id) of the element you want to hide and then add a CSS rule to hide this item. Note that you can't hide items in treechildren type lists like in the library or sidebar.

/* hide "Manage Bookmarks" at the bottom */
#BMB_bookmarksShowAll { display:none!important; }

Čítať túto odpoveď v kontexte 👍 0

Všetky odpovede (5)

more options

Let's bump this back up because I don't want this item in my bookmarks list either. Throwing menu items into my bookmarks list is annoying enough but showing the same item twice in the list is nuts. If you have the menu bar visible and also have the toolbar visible with a bookmarks icon included then there are no less than **FIVE** ways to get to the library screen... something I use ~maybe~ a few times a year at most. It really is excessive.

Pomohla vám táto odpoveď?

more options

You can use code in userChrome.css to modify the menu spacing.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

menupopup > menuitem, menupopup > menu {padding-top: 2px !important; padding-bottom: 2px !important;}
*|*:root {--arrowpanel-menuitem-padding: 2px 8px !important;}

It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find the button to go to the profile folder under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a plain text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted. On Mac you can use the TextEdit utility to create the userChrome.css file as a plain text file.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.

See also:

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true

Pomohla vám táto odpoveď?

more options

Good advice. Indeed, experiment with userChrome is what I did. In fact, I just needed the one line to reduce the padding on the Bookmarks Menu (the spacing on the Hamburger Menu didn't bother me).

And on the plus side, the misalignment issue might be fixed in the forthcoming v92; as per this bug report https://bugzilla.mozilla.org/show_bug.cgi?id=1707612

I'm still curious about deleting menu items from the Bookmarks Menu. The Browser Toolbox Inspector lets me delete nodes, which seemingly removes menu items (in this case one or other of the "Manage bookmarks"). But that is only temporary, it reverts any changes when Firefox is restarted - understandably, that is as intended. Is there a way to make such tweaks permanent? Er, I mean other than edit the source code and compile.

Pomohla vám táto odpoveď?

more options

Vybrané riešenie

You only need to make a note (or copy) of the selector (id) of the element you want to hide and then add a CSS rule to hide this item. Note that you can't hide items in treechildren type lists like in the library or sidebar.

/* hide "Manage Bookmarks" at the bottom */
#BMB_bookmarksShowAll { display:none!important; }

Pomohla vám táto odpoveď?

more options

Brilliant. Thank you, much appreciated. That is exactly what I was looking for.

Pomohla vám táto odpoveď?

Položiť otázku

Ak chcete pridať odpoveď, musíte sa prihlásiť k svojmu účtu. Ak účet doteraz nemáte, položte novú otázku.