Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

how hide fields of "All Bookmarks (Library Window)" with userChrome?

  • 3 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par cor-el

more options

the first image shows the standard appearance https://imgur.com/m6fecHE.png the second image shows how I want it to look, I want to keep only the field name of the bookmark and the field url/location https://imgur.com/nutwOWm the fields I want to hide are tags field but how i can?

the first image shows the standard appearance https://imgur.com/m6fecHE.png the second image shows how I want it to look, I want to keep only the field name of the bookmark and the field url/location https://imgur.com/nutwOWm the fields I want to hide are tags field but how i can?
Captures d’écran jointes

Modifié le par charles20091903

Solution choisie

This hides the bottom two rows but some space is not recovered (there's some extra blank space that isn't removed).

#editBookmarkPanelRows #editBMPanel_tagsRow,
#editBookmarkPanelRows #editBMPanel_tagsSelectorRow,
#editBookmarkPanelRows #editBMPanel_keywordRow {
  display: none !important;
}


To find other selectors, you can paste the following to the address bar and press Enter to load the source for the skeleton of the Library window:

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

But that won't give you the applicable CSS unfortunately, so it will take more work to chase down the source of the extra space.

P.S. Why Yandex Browser?

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (3)

more options

The top line in the window (nomen endereco), right-click on it and select/deselect what you want.

more options

Solution choisie

This hides the bottom two rows but some space is not recovered (there's some extra blank space that isn't removed).

#editBookmarkPanelRows #editBMPanel_tagsRow,
#editBookmarkPanelRows #editBMPanel_tagsSelectorRow,
#editBookmarkPanelRows #editBMPanel_keywordRow {
  display: none !important;
}


To find other selectors, you can paste the following to the address bar and press Enter to load the source for the skeleton of the Library window:

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

But that won't give you the applicable CSS unfortunately, so it will take more work to chase down the source of the extra space.

P.S. Why Yandex Browser?

more options

The extra space seems to be that there is a height set to the #detailsPane container.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#editBookmarkPanelRows #editBMPanel_tagsRow,
#editBookmarkPanelRows #editBMPanel_tagsSelectorRow,
#editBookmarkPanelRows #editBMPanel_keywordRow {
  display: none !important;
}

#detailsPane {height:unset !important;}