Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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?
已附加屏幕截图

由charles20091903于修改

被采纳的解决方案

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?

定位到答案原位置 👍 1

所有回复 (3)

more options

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

more options

选择的解决方案

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;}