Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Hide Some Menus

  • 8 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от omidsolo

more options

Hi, I need to hide some more menu items with userChrome.css and to avoid multiple threads I list them all :)

Main Menu > View > Sidebar > Synced Tabs Main Menu > Bookmarks > Bookmarks Toolbar Main Menu > Bookmarks > Other Bookmarks Main Menu > Bookmarks > Recent Tags

Hamburger Menu > Library > Synced Tabs Hamburger Menu > Customize Hamburger Menu > More

Document right click Context Menu > Bookmark Star Icon (possible to replace it by Copy Link?) Document right click Context Menu > Send Page to Device Document right click Context Menu > Inspect Element

Thanks indeed :)

Hi, I need to hide some more menu items with userChrome.css and to avoid multiple threads I list them all :) Main Menu > View > Sidebar > Synced Tabs Main Menu > Bookmarks > Bookmarks Toolbar Main Menu > Bookmarks > Other Bookmarks Main Menu > Bookmarks > Recent Tags Hamburger Menu > Library > Synced Tabs Hamburger Menu > Customize Hamburger Menu > More Document right click Context Menu > Bookmark Star Icon (possible to replace it by Copy Link?) Document right click Context Menu > Send Page to Device Document right click Context Menu > Inspect Element Thanks indeed :)

Всички отговори (8)

more options

The Recent Tags smart folder and the separator below it are normal bookmarks, so right-click -> Delete (you may have to remove the separator in the Library).

#menu_tabsSidebar,
#bookmarksToolbarSeparator,
#bookmarksToolbarFolderMenu,
#menu_unsortedBookmarks {display:none!important;}

#appMenu-library-remotetabs-button,
#appMenu-customize-button,
#appMenu-more-button {display:none!important;}

#context-bookmarkpage,
#context-sep-sendpagetodevice,
#context-sendpagetodevice,
#inspect-separator,
#context-inspect {display:none!important;}
more options

Thanks for the great tips :) Is it possible to hide the top level menu of main application menu bar? I wanna completely hide History and Bookmarks menus :) Is there a code for that too? Thanks :)

more options

Use these selectors:

#history-menu, #bookmarksMenu
more options

thanks very much :) Is it possible to add Clear Recent History to Tools Menu now that History menu is hidden ? Also if you don't mind can u plz also help me with some more context menus?

more options

It is not possible to add items to menu. You will have to use the History item in a Library drop-down list or add the History button to a toolbar or overflow area.

/* hide context menu items */
#context-searchselect, #context-keywordfield,
#context-sendimage, #context-sendaudio, #context-sendvideo,
#context-setDesktopBackground {display:none!important}
more options

Thanks buddy :) However, Email Image and Search Google for... do not work! Which ones are for these?

more options

I think these should work.

You can look for the text labels in browser.dtd and then check browser-context.inc to see to what #context item they map.

more options

Thanks, very helpful, however I didn't find name of 2 menu separators inside, where can I find them? Thanks :)