6

I don't know what this folder is for, and I don't know why Firefox forced this folder for everyone. But for me It is always empty because I never use it. I want to go a step further and permanently hide it from this drop down menu and the bookmarks manager. It's stupid and it really needs to go.

Other bookmarks

2 Answers2

2

The Other Bookmarks folder can be used to store additional bookmarks that will be displayed at the end of the Bookmarks toolbar.

Other Bookmarks

Source: https://support.mozilla.org/en-US/kb/remove-other-bookmarks-folder-from-bookmarks-toolbar

Hide via userChrome.css

To hide it in the Bookmarks menu, you can use userChrome.css. Add this code to your userChrome.css file and restart Firefox:

#menu_unsortedBookmarks {
    display: none !important;
}

#BMB_unsortedBookmarks { display: none !important; }

Hidden

MC10
  • 10,620
1

I was unable to get the userChrome.css method in @MC10's answer to successfully hide menu items on macOS, but it's possible to via an AutoConfig file.

// -*- mode: javascript; -*- vim: set ft=javascript:
// See https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig
"use strict";

(() => { if (Services.appinfo.inSafeMode) { return; }

const addressPattern = new RegExp( "^(chrome:(?!//(global/content/commonDialog)\.xhtml)|about:(?!blank))" );

Services.obs.addObserver(subject => { subject.addEventListener( "DOMContentLoaded", event => { const document = event.originalTarget; const window = document.defaultView; if (!addressPattern.test(window.location.href)) { return; }

    const hiddenMenuItems = [
      "bookmarksToolbarFolderMenu",
      "menu_unsortedBookmarks",
      "bookmarksMenuItemsSeparator"
    ];
    for (const id of hiddenMenuItems) {
      const element = document.getElementById(id);
      if (element) {
        element.hidden = true;
      }
    }
  },
  { once: true }
);

}, "chrome-document-global-created"); })();

The above example also hides the bookmarks toolbar menu item and separator. To only hide the "Other Bookmarks" folder, just use menu_unsortedBookmarks.

See this answer for additional context and installation instructions.

The browser DOM can be shown by using the Browser Toolbox or navigating to:

view-source:chrome://browser/content/browser.xhtml

To hide "Other Bookmarks" from the "Add bookmark" panel, add this to userChrome.css:

#editBMPanel_unfiledRootItem {
    display: none;
}

Additional instructions for enabling userChrome.css are available here.

Note: This will not remove the "Other Bookmarks" folder from the "Manage Bookmarks" library window, or the bookmarks sidebar.