Remove "Search Bookmarks" entry from the Bookmarks menu

User Help for Mozilla Firefox
Post Reply
Kenosis
Posts: 77
Joined: November 11th, 2011, 5:43 am

Remove "Search Bookmarks" entry from the Bookmarks menu

Post by Kenosis »

Hello wise people,

can you please tell me how to remove the new "Search Bookmarks" entry in the Bookmarks menu that was introduced with Firefox 114?

I'm pretty sure it needs to be in between this
/* Bookmark menu entries */
{
display: none !important; }
but I don't know how what the entry is called

Thank you in advance.
User avatar
dickvl
Posts: 54163
Joined: July 18th, 2005, 3:25 am

Re: Remove "Search Bookmarks" entry from the Bookmarks menu

Post by dickvl »

morat
Posts: 6432
Joined: February 3rd, 2009, 6:29 pm

Re: Remove "Search Bookmarks" entry from the Bookmarks menu

Post by morat »

There is a "Search bookmarks" menu item in the hamburger button as well.

#panelMenu_searchBookmarks
Kenosis
Posts: 77
Joined: November 11th, 2011, 5:43 am

Re: Remove "Search Bookmarks" entry from the Bookmarks menu

Post by Kenosis »

Thank you very much guys
LaFargeotte
Posts: 13
Joined: July 17th, 2023, 12:06 pm

Re: Remove "Search Bookmarks" entry from the Bookmarks menu

Post by LaFargeotte »

Oops posted in error.
Last edited by LaFargeotte on July 31st, 2023, 11:38 am, edited 1 time in total.
LaFargeotte
Posts: 13
Joined: July 17th, 2023, 12:06 pm

Re: Remove "Search Bookmarks" entry from the Bookmarks menu

Post by LaFargeotte »

dickvl wrote: June 8th, 2023, 3:31 pm That would be #BMB_searchBookmarks
https://searchfox.org/mozilla-release/s ... .xhtml#628
V116

Not knowing what #BMB_searchBookmarks means, how do I remove the Search Bookmarks from the Bookmarks Menu please (not the hamburger menu)?

Thanks in advance.
morat
Posts: 6432
Joined: February 3rd, 2009, 6:29 pm

Re: Remove "Search Bookmarks" entry from the Bookmarks menu

Post by morat »

@LaFargeotte

Try this:

* <profile folder>\chrome\userChrome.css

Code: Select all

/* Firefox userChrome.css */

#BMB_searchBookmarks {
  display: none !important;
}
Firefox userChrome.css Reference by jscher2000
http://www.userchrome.org/
http://www.userchrome.org/how-create-us ... e-css.html

Remember to set the toolkit.legacyUserProfileCustomizations.stylesheets preference to true, then restart.
LaFargeotte
Posts: 13
Joined: July 17th, 2023, 12:06 pm

Re: Remove "Search Bookmarks" entry from the Bookmarks menu

Post by LaFargeotte »

Hi,

Thanks, but unfortunately that does not work.

Here is my current userChrome.css for information:
/*tighten drop down menus*/
menupopup > menuitem, menupopup > menu {
padding-block: 1px !important;
}
:root {
--arrowpanel-menuitem-padding: 1px 1px !important;
}

/* changed this block ----------------------------------------------------*/
/* #bookmarksMenuPopup hbox {background:#CD5C5C !important;} */
/* /Change highlighted menu text to any color:/ */
/* menupopup > menu[_moz-menuactive="true"], */
/* menupopup > menuitem[_moz-menuactive="true"], */
/* popup > menu[_moz-menuactive="true"], */
/* browsermessage,notification .notification-inner{ border-color: red !important;} */
/* browsermessage, notification{ background-color: red !important;} */
/* menupopup { */
/* -moz-appearance: none !important; */
/* background-color: #CD5C5C !important } */

#bookmarksMenuPopup { --panel-background: #CD5C5C !important;}
menupopup > menu[_moz-menuactive="true"],
menupopup > menuitem[_moz-menuactive="true"],
popup > menu[_moz-menuactive="true"],
browsermessage,notification .notification-inner{ border-color: red !important;}
browsermessage, notification{ --panel-background: red !important;}
menupopup {-moz-appearance: none !important; --panel-background: #CD5C5C !important }

/* other bookmarks */
#menu_unsortedBookmarks,
#menu_mobileBookmarks,
#bookmarksMenuItemsSeparator{
display: none !important;
}

/* hide Bookmarks Toolbar Folder */
#bookmarksToolbarFolderMenu, #bookmarksToolbarFolderMenu+menuseparator {display: none !important;}

menupopup > menuitem, menupopup > menu {
/* color of the text */
color: red !important;
}

menupopup > :is(menuitem, menu):hover {
background-color: lightskyblue !important;
}

menupopup:not(.in-menulist) > menuitem,
menupopup:not(.in-menulist) > menu {
color: white !important;
}

/* Global UI font */
* {font-size: 12pt !important;
font-weight: bold !important;}
morat
Posts: 6432
Joined: February 3rd, 2009, 6:29 pm

Re: Remove "Search Bookmarks" entry from the Bookmarks menu

Post by morat »

Try the #menu_searchBookmarks selector.

Reference
http://searchfox.org/mozilla-release/se ... rks-search
http://searchfox.org/mozilla-release/so ... ersion.txt

Not tested since I'm still using Firefox 115.0.3. The `About Mozilla Firefox` dialog says Firefox is up to date.
LaFargeotte
Posts: 13
Joined: July 17th, 2023, 12:06 pm

Re: Remove "Search Bookmarks" entry from the Bookmarks menu

Post by LaFargeotte »

Yes morat, that is it, thank you so much.

V116 is available since yesterday: https://ftp.mozilla.org/pub/firefox/releases/116.0/
oonixguy
Posts: 7
Joined: December 20th, 2006, 7:10 pm

Re: Remove "Search Bookmarks" entry from the Bookmarks menu

Post by oonixguy »

Hello everyone - I'm a bit lost on this thread/topic, so I'm asking for the noob version, please.

I have been chasing this problem down for a while and searched almost everywhere for a config option or settings choice. No such luck. I'm glad to find others asking the same thing: How do I get rid of the "search bookmarks" that appears in the Bookmarks drop down menu now? It shows the last 10 things that I bookmarked, regardless of age. If I remove those bookmarks by deleting them, then it goes back further and finds 10 others. I do not want this command or any bookmarks to show up at all in this search box.

The details I've read ... well, they confuse me further and I don't know how to proceed. :oops:

Some background details:

I am using FF 116 on a Windows box.
I see this problem has been around for a while prior to the current rev so I hope a working solution is still available.
A LOT of info for FF revs that are super old and no longer apply. I need a current rev solution.
I do not have a .../FFprofile/chrome folder
I do not have a userChrome.css file - do I need these moving forward or has that now changed as well?

Do I have to create the folder and copy and paste something into it? I wasn't sure but one of the links previous directs us to nagivator-toolbox for an entire page of code (https://searchfox.org/mozilla-release/s ... .xhtml#628) and I do not speak that language. :D It is not clear if some/all of that is optional and I only need a portion?

I need some simple steps and direction, and I turn to the crowd here (finally).
Please be kind to the noob on this topic. Can I get a simple and understandable response? 8-)
I prefer Unix. :-)
oonixguy
Posts: 7
Joined: December 20th, 2006, 7:10 pm

Re: Remove "Search Bookmarks" entry from the Bookmarks menu

Post by oonixguy »

BEULLER? ANYONE? BUELLER? *bump* ](*,) :?: :!:
I prefer Unix. :-)
Post Reply