Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

How to remove fixed items from bookmarks menu

  • 3 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от james.wilkinson

more options

The following css used to work to remove items from Bookmarks menu:

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

It no longer works in FF88. How to fix?

N.B. There wasn't a way to hide "other bookmarks" from the bookmarks MENU (This has nothing to do with the unrelated TOOLBAR issue, and the settings for that do not affect the menu)

The following css used to work to remove items from Bookmarks menu: <pre><nowiki>#bookmarksToolbarSeparator,#bookmarksMenuItemsSeparator{display: none !important;} #bookmarksToolbarSeparator,#organizeBookmarksSeparator{display: none !important;} #bookmarksToolbarSeparator,#menu_bookmarkAllTabs{display: none !important;} #bookmarksToolbarSeparator,#bookmarksShowAll{display: none !important;}</nowiki></pre><br> It no longer works in FF88. How to fix? N.B. There wasn't a way to hide "other bookmarks" from the bookmarks MENU (This has nothing to do with the unrelated TOOLBAR issue, and the settings for that do not affect the menu)
Прикачени екранни снимки

Променено на от cor-el

Избрано решение

You can possibly leave a space at the start of a line to force rendering as a PRE tag.

The IDs you use look correct, so you can check for other issues like a hidden .txt appended or not having enabled userChrome.css.

Does other CSS code in userChrome.css still work in case you have more rules in your file ?


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
Прочетете този отговор в контекста 👍 1

Всички отговори (3)

more options

For reasons best known to itself the page replaced the hashes with the numbers 1-4 it ACTUALLY looked like this (... added to stop bizarre autoformatting)

... #bookmarksToolbarSeparator,#bookmarksMenuItemsSeparator{display: none !important;} ... #bookmarksToolbarSeparator,#organizeBookmarksSeparator{display: none !important;} ... #bookmarksToolbarSeparator,#menu_bookmarkAllTabs{display: none !important;} ... #bookmarksToolbarSeparator,#bookmarksShowAll{display: none !important;}

more options

Избрано решение

You can possibly leave a space at the start of a line to force rendering as a PRE tag.

The IDs you use look correct, so you can check for other issues like a hidden .txt appended or not having enabled userChrome.css.

Does other CSS code in userChrome.css still work in case you have more rules in your file ?


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
more options

Added spaces at the start of the line and moved the code to the top of the CSS. Did the trick, thanks.