X
Πατήστε εδώ για μετάβαση στην έκδοση της ιστοσελίδας για κινητές συσκευές.

Φόρουμ υποστήριξης

How do I delete default items in the Bookmarks menu?

Δημοσιεύτηκε

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.

Επιλεγμένη λύση

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

Thanks for the assist

Ανάγνωση απάντησης σε πλαίσιο 0
Παράθεση

Επιπρόσθετες λεπτομέρειες συστήματος

Εγκατεστημένα αρθρώματα

  • Shockwave Flash 28.0 r0

Εφαρμογή

  • Πλατφόρμα χρήστη: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Περισσότερες πληροφορίες

Δημοσιεύτηκε

Ιδιοκτήτης ερώτησης

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
17424 λύσεις 157452 απαντήσεις
Δημοσιεύτηκε

Χρήσιμη απάντηση

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
Σάς φάνηκε χρήσιμο; 1
Παράθεση
Δημοσιεύτηκε

Ιδιοκτήτης ερώτησης

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

Τροποποιήθηκε στις από το χρήστη cor-el

Σάς φάνηκε χρήσιμο;
Παράθεση
cor-el
  • Top 10 Contributor
  • Moderator
17424 λύσεις 157452 απαντήσεις
Δημοσιεύτηκε

Χρήσιμη απάντηση

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>
Σάς φάνηκε χρήσιμο; 1
Παράθεση
Δημοσιεύτηκε

Επιλεγμένη λύση

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
Σάς φάνηκε χρήσιμο;
Παράθεση
Κάντε μια ερώτηση

Πρέπει να συνδεθείτε στο λογαριασμό σας για να απαντήσετε στις δημοσιεύσεις. Παρακαλούμε ξεκινήστε μια νέα ερώτηση, αν δεν έχετε ήδη λογαριασμό.