Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

REMOVE / HIDE ITEMS INSIDE THE LIBRARY POPUP

  • 4 ردود
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه deanone

more options

Is it possible to remove / hide individual elements inside the Library popup's #placesList (i.e. the Tag item and/or the icons of any of the items)?

My attempt with the code below inside userchrome removed ALL of the side panel content - not ideal.

#placesList > treechildren:nth-child(2) {
  display: none !important;

}

Also, is it actually possible for the Browser Toolbox to work inside popups?

Is it possible to remove / hide individual elements inside the Library popup's ''#placesList'' (i.e. the Tag item and/or the icons of any of the items)? My attempt with the code below inside userchrome removed ALL of the side panel content - not ideal. #placesList > treechildren:nth-child(2) { display: none !important; } Also, is it actually possible for the Browser Toolbox to work inside popups?
Attached screenshots

All Replies (4)

more options

You can inspect the Places window in the Browser Toolbox. Toward the right end of the bar in the Inspector there is a button that looks like 3 frames. That lets you switch the Inspector to a different window.

But... styling of these old style XUL trees is very arcane, so I can't say for sure what will actually work.

A good place to advice would be the r/FirefoxCSS subreddit: https://www.reddit.com/r/FirefoxCSS/

more options

It is not possible to hide items in treechildren list, you can only style them using ":-moz-tree" pseudo class selectors.

more options
more options

@cor-el / @jscher2000

Thanks again to both of you. I slightly suspected I would continue to have trouble this treechildren list. The answers each of you have provided serve to save me a lot of time and effort.

Modified by deanone