為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

REMOVE / HIDE ITEMS INSIDE THE LIBRARY POPUP

  • 4 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 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?
附加的畫面擷圖

所有回覆 (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.

由 deanone 於 修改