We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

I want to set up firefox in kiosk mode, but I need to have the Back (and Forward) button and the Home button available.

  • 2 respostas
  • 2 têm este problema
  • 1 visualização
  • Última resposta por p.thrasher

more options

The computer will be used only for online catalog access in my library. I need to remove the location toolbar, but keep the back buttons and home button. If I use Kiosk mode, I don't have the back buttons. I can set it up so that I have the buttons but not the URL, but a user could right click on the menu bar and re-enable the location bar. I need to prevent them from doing that. Thanks!

The computer will be used only for online catalog access in my library. I need to remove the location toolbar, but keep the back buttons and home button. If I use Kiosk mode, I don't have the back buttons. I can set it up so that I have the buttons but not the URL, but a user could right click on the menu bar and re-enable the location bar. I need to prevent them from doing that. Thanks!

Solução escolhida

Users can always bring up a location bar with the Ctrl+L shortcut if that bar is hidden.

A possibility is to hide toolbar items and (context) menu items with code in userChrome.css below the default @namespace line.

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.


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

#openLocation, #urlbar-container, #CustomizeToolbarWindow, #toolbar-context-menu {
 display:none!important;
}
Ler esta resposta no contexto 👍 0

Todas as respostas (2)

more options

Solução escolhida

Users can always bring up a location bar with the Ctrl+L shortcut if that bar is hidden.

A possibility is to hide toolbar items and (context) menu items with code in userChrome.css below the default @namespace line.

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.


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

#openLocation, #urlbar-container, #CustomizeToolbarWindow, #toolbar-context-menu {
 display:none!important;
}
more options

Thank you, cor-el.

I created a userChrome.css that suppresses #urlbar, #searchbar and #main-menubar and it works perfectly.