搜尋 Mozilla 技術支援網站

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

了解更多

How do I delete the search feature from the bookmarks section (left side of the window when open)? Just the search feature in bookmarks.

  • 5 回覆
  • 2 有這個問題
  • 4 次檢視
  • 最近回覆由 cor-el

more options

I don't know if it's always been there, but there is a search box now at the top of my Bookmarks toolbar that opens on the left side of my window. When the Bookmarks toolbar is open the first thing is Bookmarks and the X to close bookmarks. Just below that is a search box. I don't have a lot of bookmarks and don't want the search box. How do I get rid of the search box?

I don't know if it's always been there, but there is a search box now at the top of my Bookmarks toolbar that opens on the left side of my window. When the Bookmarks toolbar is open the first thing is Bookmarks and the X to close bookmarks. Just below that is a search box. I don't have a lot of bookmarks and don't want the search box. How do I get rid of the search box?

被選擇的解決方法

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

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

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

#bookmarksPanel #sidebar-search-container {
 display:none!important;
}

(this still leaves the search bar for the History sidebar; #history-panel #sidebar-search-container)

從原來的回覆中察看解決方案 👍 0

所有回覆 (5)

more options

Sounds that you have the bookmarks sidebar open.

  • Toggle the Bookmarks sidebar on/off via "View > Sidebar > Bookmarks" or Ctrl+B (Command+B on Mac)
  • Toggle the History sidebar on/off via "View > Sidebar > History" or Ctrl+H (Command+H on Mac)

You can find toolbar buttons to open the bookmarks (star) and the history (clock) in the sidebar in the toolbar palette and drag them on a toolbar.
There are two bookmark buttons with a star in the Customize window.
One star button has a drop marker that open a Bookmark menu (you may not see the drop marker in the Customize window).
The other star button without the drop marker opens the bookmarks in the sidebar.

more options

Yes, I have the bookmarks sidebar open. What I don't want is the search box in my bookmarks sidebar. I apologize that I wasn't able to get that across in my original post. I don't need a search feature because I only have 32 bookmarks. I don't recall it being there until a recent update, but then again I don't remember what I had for breakfast today.

If the search box cannot be removed, then I'll just have to get used to it.

Thanks again for your help.

more options

選擇的解決方法

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

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

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

#bookmarksPanel #sidebar-search-container {
 display:none!important;
}

(this still leaves the search bar for the History sidebar; #history-panel #sidebar-search-container)

more options

cor-el,

Thanks. While I'm certain this would work, I am not comfortable doing this level of adjustments. I did look into my profile folder, and found the Chrome folder but I'm just not experienced enough to work through this. I'm still quite the novice when it comes to this type of thing.

I really appreciate your help and I'm sorry for taking up your time. I guess I was hoping for a solution that was as simple as unchecking a box somewhere.

more options

You can use the Stylish extension to make it easier to make such customizations.


You can create a file userChrome.css in the chrome folder in the Firefox profile folder.
You may have to create the chrome folder as well.
Note that all names are case sensitive and make sure to select "All files" and not "text files" when you save the file to prevent Windows from adding a hidden .txt file extension (i.e. you get userChrome.css.txt).