X
Tippen Sie hierhin, um die Version dieser Website für Mobilgeräte aufzurufen.

Hilfeforum

How do I delete default items in the Bookmarks menu?

Veröffentlicht

I want to delete some fixed items from the bookmarks menu e.g. Show all bookmarks, other bookmarks etc.. I found some css that was supposed to do it but it does not work.

I want to delete some fixed items from the bookmarks menu e.g. Show all bookmarks, other bookmarks etc.. I found some css that was supposed to do it but it does not work.

Ausgewählte Lösung

Cool. I just needed #organizeBookmarksSeparator & #bookmarksMenuItemsSeparator to finish it off.

Thanks for the assist

Diese Antwort im Kontext lesen 0

Mehr Details zum System

Installierte Plugins

  • Shockwave Flash 28.0 r0

Anwendung

  • User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Weitere Informationen

Fragesteller

I have located the ids I want removed and can temporarily remove them with the editor

id="menu_bookmarkAllTabs" id="bookmarksToolbarSeparator" id="bookmarksToolbarFolderMenu" id="menu_unsortedBookmarks" id="otherBookmarksFolderPopup"

How do you make that permanent?

I have located the ids I want removed and can temporarily remove them with the editor id="menu_bookmarkAllTabs" id="bookmarksToolbarSeparator" id="bookmarksToolbarFolderMenu" id="menu_unsortedBookmarks" id="otherBookmarksFolderPopup" How do you make that permanent?
cor-el
  • Top 10 Contributor
  • Moderator
17539 Lösungen 158587 Antworten
Veröffentlicht

Hilfreiche Antwort

Where (in what drop-down list) do you want to hide these items?

What code are you currently using in userChrome.css to hide these items?


You can find the IDs of some default items in the files posted further down. An example for Other Bookmarks for userChrome.css:

#menu_unsortedBookmarks, BMB_unsortedBookmarks { display:none!important; }

See menu_

See BMB_


See also:

Where (in what drop-down list) do you want to hide these items? What code are you currently using in userChrome.css to hide these items? ---- You can find the IDs of some default items in the files posted further down. An example for Other Bookmarks for userChrome.css: <pre><nowiki>#menu_unsortedBookmarks, BMB_unsortedBookmarks { display:none!important; } </nowiki></pre> ---- See menu_ *https://dxr.mozilla.org/mozilla-release/source/browser/base/content/browser-menubar.inc See BMB_ *https://dxr.mozilla.org/mozilla-release/source/browser/base/content/browser.xul ----- See also: *https://www.userchrome.org/how-create-userchrome-css.html *https://www.userchrome.org/what-is-userchrome-css.html

Fragesteller

I wasn't using userChrome that was just highlighting and deleting via the developer console.

I have managed to remove most of them by adding this to the css e.g.

#bookmarksToolbarSeparator,
#menu_bookmarkAllTabs { display: none !important; }

Just have one pesky separator left at the top

edit: For some reason this page's formatting is changing typed hashtags "#" into the numbers 1. and 2. This could prove very frustrating for people trying to replicate this code

I wasn't using userChrome that was just highlighting and deleting via the developer console. I have managed to remove most of them by adding this to the css e.g. <pre><nowiki>#bookmarksToolbarSeparator, #menu_bookmarkAllTabs { display: none !important; }</nowiki></pre> Just have one pesky separator left at the top edit: For some reason this page's formatting is changing typed hashtags "#" into the numbers 1. and 2. This could prove very frustrating for people trying to replicate this code

Geändert am von cor-el

cor-el
  • Top 10 Contributor
  • Moderator
17539 Lösungen 158587 Antworten
Veröffentlicht

Hilfreiche Antwort

Some selectors you can try:

#bookmarksShowAll
#organizeBookmarksSeparator
#menu_bookmarkThisPage
#menu_bookmarkAllTabs
#bookmarksToolbarSeparator
#menu_unsortedBookmarks
#bookmarksMenuItemsSeparator
Some selectors you can try: <pre><nowiki>#bookmarksShowAll #organizeBookmarksSeparator #menu_bookmarkThisPage #menu_bookmarkAllTabs #bookmarksToolbarSeparator #menu_unsortedBookmarks #bookmarksMenuItemsSeparator</nowiki></pre>

Ausgewählte Lösung

Cool. I just needed #organizeBookmarksSeparator & #bookmarksMenuItemsSeparator to finish it off.

Thanks for the assist

Cool. I just needed #organizeBookmarksSeparator & #bookmarksMenuItemsSeparator to finish it off. Thanks for the assist