搜索 | 用户支持

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

Learn More

Bookmarks toolbar BUTTON: remove, delete, or hide using userchrome.css?

  • 6 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

I like my bookmarks toolbar. I had that laid out just as I wanted, and now there's a new "bookmarks toolbar button" screwing everything up.

I don't like that new button, and I've already tried a couple fixes to remove it. I had to create a new chrome folder for my profile (I didn't have one before) and I made a new userchrome.css file (again, I didn't have one before). But none of the things I copied and pasted into it did anything.

I've tried copying and pasting several things, but none have done anything. I assume that the problem is because I made an error in creating the new file or folder. Any tips?

I like my bookmarks toolbar. I had that laid out just as I wanted, and now there's a new "bookmarks toolbar button" screwing everything up. I don't like that new button, and I've already tried a couple fixes to remove it. I had to create a new chrome folder for my profile (I didn't have one before) and I made a new userchrome.css file (again, I didn't have one before). But none of the things I copied and pasted into it did anything. I've tried copying and pasting several things, but none have done anything. I assume that the problem is because I made an error in creating the new file or folder. Any tips?

所有回复 (6)

more options

Right click a blank part of the tab bar and go to Customize. A panel will open where you can drag anything you don't want into that panel. Similarly, you can add to the existing layout from there.

Also, while the panel is open, you can rearrange the layout by dragging elements around.

more options

Can you post the content of the file userChrome.css using <code> </code> tags?

  • Help > Troubleshooting Information > Profile Directory: Open Containing Folder

See also:

more options

@ co-rel, could you please have a look at this thread? https://support.mozilla.com/en-US/questions/819319#answer-180153 (it has nothing to do with this one).

It's marked as Solved, but the user is still having the same problem. I tested it myself and encountered that same problem. I'm hoping you might know what the answer is.

Thanks.

more options

Sorry, that doesn't work for the bookmarks button. The "customize" panel treats all bookmarks as one block, so I can't edit parts inside there.

more options

@cor-el

I've tried a couple things... this is the most recent: #bookmarksToolbarFolderMenu { display: none !important;}

   #organizeBookmarksSeparator { display: none !important;}

Edit: Is there supposed to be anything else in my chrome file? I originally tried to include all of the junk that was in the example chrome file, but that didn't work. Eventually I cut it out and tried directly using the stuff from the web.

由MDFCSDGFB于修改

more options

Make sure that you leave the @namespace line at the top of the file.


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