Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

how do I hide/remove the customise menu

  • 1 ответ
  • 1 имеет эту проблему
  • 24 просмотра
  • Последний ответ от standov

more options

Hi all, this might have been answered already somewhere, but I can't find something that will fix my issue. I need to remove the Customise option from the toolbar context menu. at the moment my userchrome.css looks like this

menu[label="Tools"] menuitem[label="Sync Now"],#sync-setup-appmenu,#sync-syncnowitem-appmenu,#sync-setup,#sync-status-button,#BrowserPreferences radio[pane="paneSync"] {display:none!important;}
menuitem[label="Bookmarks Toolbar Folder"] { display: none !important; } 
menuitem[label="Security"],#masterPasswordBox {display:none!important;}
#tabbrowser-tabs{display: none !important;} 
#bookmarks-menu, #urlbar, #searchbar, #context-bookmarklink, #context-bookmarkpage, #context-openlinkintab { display:none !important; }
#navigator-toolbox menu[label="Bookmarks"] { display: none !important; } 
#toolbar-menubar {display: none !important;}
menubar > menu[disabled="true"] {border: 1px solid transparent !important;}
#appmenu-button { display: none !important; }
//#viewToolbarsMenu menuitem[label="Customise"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customise"] {display: none !important;}

#viewToolbarsMenu menuitem[label="Customize..."], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customize..."], #toolbar-context-menu menuseparator{display: none !important;}

#viewToolbarsMenu menuseparator , #menu_customizeToolbars {display:none!important;}
#viewToolbarsMenu menuitem[label="Navigation Toolbar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Navigation Toolbar"] {display: none !important;}
#viewToolbarsMenu menuitem[label="Menu Bar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Menu Bar"] {display: none !important;}
#viewToolbarsMenu menuitem[label="Bookmarks Toolbar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Bookmarks Toolbar"] {display: none !important;}
#viewToolbarsMenu menuitem[label="Add-on Bar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Add-on Bar"] {display: none !important;}"

as you can see, I have tried a few things to remove the menu option. I had the other menu options shown here (https://db.tt/1BQB4gjQ) so people would be able to know what menu I was talking about.
As it currently stands, the user can still use the customise option, but when the Customise Toolbar is closed, it then greys out the option (https://db.tt/9ky59Hyt) If these options listed above are included in the userChrome.css I an getting this (https://db.tt/JLduNKWF). I am not able to get rid of the customise.
I have basically built a kiosk mode FF without the full screen requirement. This is a very locked down Corp version for only a limited use on a page that runs slow under (that other included browser)

I hope I have included enough information for a quick response, as I have to finish packaging FF soon.

I thank anybody who can help. Cheers

Hi all, this might have been answered already somewhere, but I can't find something that will fix my issue. I need to remove the Customise option from the toolbar context menu. at the moment my userchrome.css looks like this <pre><nowiki>menu[label="Tools"] menuitem[label="Sync Now"],#sync-setup-appmenu,#sync-syncnowitem-appmenu,#sync-setup,#sync-status-button,#BrowserPreferences radio[pane="paneSync"] {display:none!important;} menuitem[label="Bookmarks Toolbar Folder"] { display: none !important; } menuitem[label="Security"],#masterPasswordBox {display:none!important;} #tabbrowser-tabs{display: none !important;} #bookmarks-menu, #urlbar, #searchbar, #context-bookmarklink, #context-bookmarkpage, #context-openlinkintab { display:none !important; } #navigator-toolbox menu[label="Bookmarks"] { display: none !important; } #toolbar-menubar {display: none !important;} menubar > menu[disabled="true"] {border: 1px solid transparent !important;} #appmenu-button { display: none !important; } //#viewToolbarsMenu menuitem[label="Customise"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customise"] {display: none !important;} #viewToolbarsMenu menuitem[label="Customize..."], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customize..."], #toolbar-context-menu menuseparator{display: none !important;} #viewToolbarsMenu menuseparator , #menu_customizeToolbars {display:none!important;} #viewToolbarsMenu menuitem[label="Navigation Toolbar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Navigation Toolbar"] {display: none !important;} #viewToolbarsMenu menuitem[label="Menu Bar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Menu Bar"] {display: none !important;} #viewToolbarsMenu menuitem[label="Bookmarks Toolbar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Bookmarks Toolbar"] {display: none !important;} #viewToolbarsMenu menuitem[label="Add-on Bar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Add-on Bar"] {display: none !important;}" </nowiki></pre> as you can see, I have tried a few things to remove the menu option. I had the other menu options shown here (https://db.tt/1BQB4gjQ) so people would be able to know what menu I was talking about.<br /> As it currently stands, the user can still use the customise option, but when the Customise Toolbar is closed, it then greys out the option (https://db.tt/9ky59Hyt) If these options listed above are included in the userChrome.css I an getting this (https://db.tt/JLduNKWF). I am not able to get rid of the customise. <br /> I have basically built a kiosk mode FF without the full screen requirement. This is a very locked down Corp version for only a limited use on a page that runs slow under (that other included browser) I hope I have included enough information for a quick response, as I have to finish packaging FF soon. I thank anybody who can help. Cheers

Изменено cor-el

Выбранное решение

I had a overwhelming number of responses from everyone, but I managed to find a different wording to the question from someone in another forum.

the response came from http://forums.mozillazine.org/viewtopic.php?f=38&t=2581871

  1. toolbar-context-menu { display: none !important;}
Прочитайте этот ответ в контексте 👍 0

Все ответы (1)

more options

Выбранное решение

I had a overwhelming number of responses from everyone, but I managed to find a different wording to the question from someone in another forum.

the response came from http://forums.mozillazine.org/viewtopic.php?f=38&t=2581871

  1. toolbar-context-menu { display: none !important;}