On 2016-12-02 10:39, Mayayana <maya...@invalid.nospam> wrote:
> I thought Ed Mullin's idea was a ood one - to share
> ideas about userChrome.css. Like userContent.css,
> there seems to be no definitive reference; only
> websites with a handful of tricks. So it might be
> useful for people to pool their "tricks".
Alright, here's some portions of my userChrome. All of these together
work towards one goal: The Bookmarks menu should include ONLY bookmarks,
just like Internet Explorer's. For some reason, Mozilla likes to fill
the Bookmarks Menu with dozens of useless items that I never use - this
is even worst in the latest versions, with the last 5 opened tabs
showing-up in the menu. I also get rid of the "open all in tabs" that
Firefox plasters everywhere - if I want to open all the tabs in a folder
I just right-click the folder; no need to see a menu entry for every
folder in the bookmarks. Here we go:
/* Hide most entries in bookmarks menu */
/* To replace Show-All-Bookmarks just create a bookmark to: */
/* chrome://browser/content/places/places.xul */
#bookmarksMenuPopup menuitem[id="bookmarksShowAll"],
#bookmarksMenuPopup #organizeBookmarksSeparator,
#bookmarksMenuPopup menuitem[id="menu_bookmarkThisPage"],
#bookmarksMenuPopup menuitem[id="subscribeToPageMenuitem"],
#bookmarksMenuPopup #bookmarksToolbarSeparator,
#bookmarksMenuPopup menu[container="true"][id="bookmarksToolbarFolderMenu"],
#bookmarksMenuPopup #bookmarksMenuItemsSeparator,
#bookmarksMenuPopup menuitem[id="menu_unsortedBookmarks"],
#bookmarksMenuPopup
menuseparator[class="hide-if-empty-places-result"][builder="end"]
{display: none !important; }
/* Menu Wizard Spurious Separator @ end of Bookmarks root */
#bookmarksMenuPopup
menuseparator[id="s3mw....menuseparator.bookmarksMenuItemsSeparator."]
{display: none !important; }
/* FFOX 37 with Classic Theme Restorer:
Hide the RSS Feed item in Bookmarks menu since we now have it in the
location bar */
#bookmarksMenuPopup menu[id="subscribeToPageMenupopup"] {display: none
!important; }
#BMB_bookmarksPopup #BMB_subscribeToPageMenupopup {display: none
!important; }
/* FFOX 37 Bookmarks Button/Panel in Toolbar */
#BMB_bookmarksPopup #BMB_viewBookmarksSidebar,
#BMB_bookmarksPopup #BMB_bookmarksShowAllTop,
#BMB_bookmarksPopup #BMB_bookmarksShowAllTop+menuseparator,
#BMB_bookmarksPopup #BMB_subscribeToPageMenuitem,
#BMB_bookmarksPopup #BMB_subscribeToPageMenupopup+menuseparator,
#BMB_bookmarksPopup #BMB_bookmarksToolbar,
#BMB_bookmarksPopup #BMB_unsortedBookmarks,
#BMB_bookmarksPopup #BMB_unsortedBookmarks+menuseparator {display: none
!important; }
/* FFOX 38 Pocket Bookmarks Menu/Panel */
#bookmarksMenuPopup menu[id="menu_pocket"],
#bookmarksMenuPopup #menu_pocketSeparator,
#BMB_bookmarksPopup #BMB_pocket,
#BMB_bookmarksPopup #BMB_pocketSeparator {display: none !important; }
/* FF49 Recently Bookmarked */
#BMB_recentBookmarks,
#BMB_recentBookmarks+.bookmark-item,
#BMB_recentBookmarks+.bookmark-item+.bookmark-item,
#BMB_recentBookmarks+.bookmark-item+.bookmark-item+.bookmark-item,
#BMB_recentBookmarks+.bookmark-item+.bookmark-item+.bookmark-item+.bookmark-item,
#BMB_recentBookmarks+.bookmark-item+.bookmark-item+.bookmark-item+.bookmark-item+.bookmark-item,
#BMB_recentBookmarks+.bookmark-item+.bookmark-item+.bookmark-item+.bookmark-item+.bookmark-item+menuseparator
{display:none!important;}
#menu_recentBookmarks,
#menu_recentBookmarks+.bookmark-item,
#menu_recentBookmarks+.bookmark-item+.bookmark-item,
#menu_recentBookmarks+.bookmark-item+.bookmark-item+.bookmark-item,
#menu_recentBookmarks+.bookmark-item+.bookmark-item+.bookmark-item+.bookmark-item,
#menu_recentBookmarks+.bookmark-item+.bookmark-item+.bookmark-item+.bookmark-item+.bookmark-item,
#menu_recentBookmarks+.bookmark-item+.bookmark-item+.bookmark-item+.bookmark-item+.bookmark-item+menuseparator
{display:none!important;}
/* --------------------------------------------- */
/* Remove "Open All in Tabs" from Bookmarks Menu */
/* --------------------------------------------- */
menuseparator.bookmarks-actions-menuseparator,
menuitem.openintabs-menuitem {display:none !important; }
With all of the above you will have only bookmarks in your menus/panels.
Regards,
--
! _\|/_ Sylvain /
B00...@hotmail.com
! (o o) Member:David-Suzuki-Fdn/EFF/Red+Cross/SPCA/Planetary-Society
oO-( )-Oo Windows error 1A Data overwritten, terribly sorry.