搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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 个回答
  • 2 人有此问题
  • 387 次查看
  • 最后回复者为 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!

被采纳的解决方案

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;
}
定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

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.