I want to set up firefox in kiosk mode, but I need to have the Back (and Forward) button and the Home button available.
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!
Gekose oplossing
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; }Lees dié antwoord in konteks 👍 0
All Replies (2)
Gekose oplossing
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; }
Thank you, cor-el.
I created a userChrome.css that suppresses #urlbar, #searchbar and #main-menubar and it works perfectly.