본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How to remove Bookmarks Toolbar from bookmark menu in FF 28?

  • 11 답장
  • 5 이 문제를 만남
  • 1 보기
  • 최종 답변자: cor-el

more options

I can't seem to get rid of it using any of the solutions on the web. My userChrome.css file is shown below - it is effective at getting rid of subscribe and some of the other crud on the bookmark menu, but Bookmarks Toolbar is completely immune. I'm on Windows7.

/*
 * Edit this file and copy it as userChrome.css into your
 * profile-directory/chrome/
 */

/*
 * This file can be used to customize the look of Mozilla's user interface
 * You should consider using !important on rules which you want to
 * override default settings.
 */

/*
 * Do not remove the @namespace line -- it's required for correct functioning
 */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */


/* #menu_bookmarkThisPage,
 */
#subscribeToPageMenuitem,
#subscribeToPageMenupopup,
#menu_bookmarkAllTabs,
/* #bookmarksShowAll, */
#organizeBookmarksSeparator,
#bookmarksToolbarFolderMenu,
#bookmarksToolbarFolderMenu+menuseparator,
#bookmarksMenuPopup menuseparator[builder="end"],
#menu_unsortedBookmarks { display:none!important; }

#BMB_viewBookmarksToolbar, #BMB_viewBookmarksToolbar+menuseparator,
#BMB_bookmarksShowAll, #BMB_bookmarksShowAll+menuseparator,
/* #BMB_bookmarkThisPage, */
#BMB_subscribeToPageMenuitem,
#BMB_subscribeToPageMenupopup, #BMB_subscribeToPageMenupopup+menuseparator,
#BMB_bookmarksToolbar, #BMB_bookmarksToolbar+menuseparator,
#BMB_bookmarksPopup menuseparator[builder="end"],
#BMB_unsortedBookmarks { display:none!important; }

#appmenu_showAllBookmarks, #appmenu_showAllBookmarks+menuseparator,
/* #appmenu_bookmarkThisPage, */
#appmenu_subscribeToPage,
#appmenu_subscribeToPageMenu,
#appmenu_subscribeToPageMenupopup, #appmenu_subscribeToPageMenupopup+menuseparator,
#appmenu_bookmarksPopup menuseparator[builder="end"],
#appmenu_unsortedBookmarks { display:none!important; }


#menu_bookmarkThisPage,
#subscribeToPageMenuitem,
#subscribeToPageMenupopup,
#menu_bookmarkAllTabs,
#bookmarksShowAll, #organizeBookmarksSeparator,
#bookmarksToolbarFolderMenu,
#bookmarksToolbarFolderMenu+menuseparator,
#bookmarksMenuPopup menuseparator[builder="end"],
#menu_unsortedBookmarks
{display: none !important;}

/* remove cruft */
#subscribeToPageMenuitem,
#subscribeToPageMenupopup,
menuitem[command="Browser:BookmarkAllTabs"],
menuitem[label="Open All in Tabs"], menuseparator[builder="end"],
#bookmarksToolbarFolderMenu,
#bookmarksToolbarFolderMenu+menuseparator {
display: none !important; }
#urlbar-icons > #star-button {
display:   none !important; }
#feed-button { display: none !important; }
#back-forward-dropmarker {display:none !important;}
#menu_unsortedBookmarks,
#bookmarksMenuPopup > menuseparator[builder="end"]
{display:none!important;}
#organizeBookmarksSeparator
{ display: none !important; }

/*Hide Bookmark menu */
#navigator-toolbox menu[label="Bookmarks"]
{ display: none !important; }

toolbarbutton.bookmark-item > .toolbarbutton-text {
  display: none !important;
}
I can't seem to get rid of it using any of the solutions on the web. My userChrome.css file is shown below - it is effective at getting rid of subscribe and some of the other crud on the bookmark menu, but Bookmarks Toolbar is completely immune. I'm on Windows7. <pre><nowiki>/* * Edit this file and copy it as userChrome.css into your * profile-directory/chrome/ */ /* * This file can be used to customize the look of Mozilla's user interface * You should consider using !important on rules which you want to * override default settings. */ /* * Do not remove the @namespace line -- it's required for correct functioning */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ /* #menu_bookmarkThisPage, */ #subscribeToPageMenuitem, #subscribeToPageMenupopup, #menu_bookmarkAllTabs, /* #bookmarksShowAll, */ #organizeBookmarksSeparator, #bookmarksToolbarFolderMenu, #bookmarksToolbarFolderMenu+menuseparator, #bookmarksMenuPopup menuseparator[builder="end"], #menu_unsortedBookmarks { display:none!important; } #BMB_viewBookmarksToolbar, #BMB_viewBookmarksToolbar+menuseparator, #BMB_bookmarksShowAll, #BMB_bookmarksShowAll+menuseparator, /* #BMB_bookmarkThisPage, */ #BMB_subscribeToPageMenuitem, #BMB_subscribeToPageMenupopup, #BMB_subscribeToPageMenupopup+menuseparator, #BMB_bookmarksToolbar, #BMB_bookmarksToolbar+menuseparator, #BMB_bookmarksPopup menuseparator[builder="end"], #BMB_unsortedBookmarks { display:none!important; } #appmenu_showAllBookmarks, #appmenu_showAllBookmarks+menuseparator, /* #appmenu_bookmarkThisPage, */ #appmenu_subscribeToPage, #appmenu_subscribeToPageMenu, #appmenu_subscribeToPageMenupopup, #appmenu_subscribeToPageMenupopup+menuseparator, #appmenu_bookmarksPopup menuseparator[builder="end"], #appmenu_unsortedBookmarks { display:none!important; } #menu_bookmarkThisPage, #subscribeToPageMenuitem, #subscribeToPageMenupopup, #menu_bookmarkAllTabs, #bookmarksShowAll, #organizeBookmarksSeparator, #bookmarksToolbarFolderMenu, #bookmarksToolbarFolderMenu+menuseparator, #bookmarksMenuPopup menuseparator[builder="end"], #menu_unsortedBookmarks {display: none !important;} /* remove cruft */ #subscribeToPageMenuitem, #subscribeToPageMenupopup, menuitem[command="Browser:BookmarkAllTabs"], menuitem[label="Open All in Tabs"], menuseparator[builder="end"], #bookmarksToolbarFolderMenu, #bookmarksToolbarFolderMenu+menuseparator { display: none !important; } #urlbar-icons > #star-button { display: none !important; } #feed-button { display: none !important; } #back-forward-dropmarker {display:none !important;} #menu_unsortedBookmarks, #bookmarksMenuPopup > menuseparator[builder="end"] {display:none!important;} #organizeBookmarksSeparator { display: none !important; } /*Hide Bookmark menu */ #navigator-toolbox menu[label="Bookmarks"] { display: none !important; } toolbarbutton.bookmark-item > .toolbarbutton-text { display: none !important; }</nowiki></pre>

글쓴이 cor-el 수정일시

모든 댓글 (11)

more options

The website autoformatted the hash signs # as numbered lists... here goes again.


(I've removed the code here and edited to first post to show the formatting - c)

글쓴이 cor-el 수정일시

more options

It did it again. Useless junk...

more options

I'm not sure what items you are referring to.

What items and where (Bookmarks Menu button, Firefox App menu button) are you trying to remove?

Note that your code has some duplicate entries and that you currently hide the Bookmarks menu item on the menu bar, so you wouldn't need the code to hide items in that menu.

more options

On the bookmarks menu. Didn't I say that? Yes I did in the title.

There are duplicate entries because I have tried everything on the web. Nothing works....

more options

I asked because you content of the userChrome.css includes code to hide the bookmarks menu, so you shouldn't even see that menu anymore if the code is working properly.

/*Hide Bookmark menu */
#navigator-toolbox menu[label="Bookmarks"]
{ display: none !important; }

Make sure that you edit the file in the correct location.

You can use this button to go to the currently used Firefox profile folder:

  • Help > Troubleshooting Information > Profile Director: Show Folder (Linux: Open Director; Mac: Show in Finder)
more options

Yes, I used that.

As I said, *some* things go away like the star in the url bar and the unsorted bookmarks menu item, but Bookmarks Toolbar just sits there all proud of itself for being hard coded into the menu.

more options

I understood the original's poster's question. In Firefox 29, here is the code that works:

/* Hide Bookmarks Toolbar Folder */

#BMB_bookmarksToolbar,
#BMB_bookmarksToolbar + menuseparator,
#appmenu_bookmarksToolbar,
#appmenu_bookmarksToolbar + menuseparator,
#bookmarksToolbarFolderMenu,
#bookmarksToolbarFolderMenu + menuseparator,
#BMB_unsortedBookmarks,
#appmenu_unsortedBookmarks,
menuseparator.hide-if-empty-places-result {
        display: none !important;
}

글쓴이 cor-el 수정일시

more options

This does nothing for me unless I remove the "hide-if-empty-places-result" field in which case it hides all the seperators.

more options

Current Firefox versions no longer have the orange Firefox menu button, so selectors that start with #appmenu will no longer have any effect. Also make sure that the last item before {display:none!important;} doesn't have a trailing comma before the opening curly bracket ({)

Possible selectors for the "Show your bookmarks" drop-down list that all start with "#BMB_" (add commas where needed)

#BMB_viewBookmarksSidebar
#BMB_bookmarksShowAllTop, #BMB_bookmarksShowAll
#BMB_bookmarkThisPage
#BMB_subscribeToPageMenuitem
#BMB_subscribeToPageMenupopup, #BMB_subscribeToPageMenupopup+menuseparator
#BMB_bookmarksToolbar, #BMB_bookmarksToolbar+menuseparator

#BMB_unsortedBookmarks and possibly BMB_unsortedBookmarksPopup

Possible selectors for the Bookmarks menu (add commas where needed)

#menu_bookmarkThisPage
#subscribeToPageMenuitem
#subscribeToPageMenupopup
#menu_bookmarkAllTabs
#bookmarksShowAll, #organizeBookmarksSeparator
#bookmarksToolbarFolderMenu
#bookmarksToolbarFolderMenu+menuseparator
#bookmarksMenuPopup menuseparator[builder="end"]
#menu_unsortedBookmarks
more options

I have the Classic Theme Restorer addon so this works in the bookmarks menu in my menu bar, but it doesn't fix the issue in the menu button on the bookmarks toolbar.

more options

If you use the CTR extension then items in the BMB button that this extension adds get a ctraddon_ prefix:

  • ctraddon_bookmarks-menu-toolbar-button
  • ctraddon_BMB_bookmarkThisPage

You can check that in the DOM Inspector.