Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

Is it possible to change the size of the 'Close' button in Full Screen viewing mode?

  • 2 个回答
  • 1 人有此问题
  • 11 次查看
  • 最后回复者为 nzskater

more options

I am currently using Firefox for a kiosk type scenario. We require that the browser run full screen. The issue is that the 'Close' button is not large enough for users to consistently see, so they're having issues figuring out how to close an active browser window.

Can anyone tell me if it's possible to change this icon? I've tried using themes, but they tend to theme everything but the close button.

Custom configuration details are below.

Firefox version: firefox-3.0.4-1.el5.centos

Customisations:

Access to local drives disabled: Modified the contents of /usr/lib/firefox-3.0.4/chrome/browser.jar, so that browser.js has the added stanza:

if (location.match(/^file:/) || 
location.match(/^\//) || 
location.match(/^resource:/) ||
(!location.match(/^about:blank/) &&
location.match(/^about:/))) {
loadURI("about:blank");
}

Various menus & bookmarks disabled in chrome/userChrome.css

/* Kill "normal" bookmark icons in the bookmarks menu */
menuitem.bookmark-item > .menu-iconic-left {
  display: none;
}

/* kill icons for bookmark folders in Bookmarks menu */
menu.bookmark-item > .menu-iconic-left {
  display: none;
}

/* kill icons for bookmark groups in Bookmarks menu */
menuitem.bookmark-group > .menu-iconic-left {
  display: none;
}

/* Remove the Edit and Help menus
   Id's for all toplevel menus:
   file-menu, edit-menu, view-menu, go-menu, bookmarks-menu, tools-menu, helpMenu */

helpMenu { display: none !important; }
tools-menu { display: none !important; }
file-menu { display: none !important; }
edit-menu { display: none !important; }
view-menu { display: none !important; }
go-menu { display: none !important; }
bookmarks-menu { display: none !important; }


#autohide-context { display: none !important;}

#bookmarksToolbarFolderMenu { display: none !important;}
#organizeBookmarksSeparator { display: none !important;}
.tabbrowser-tabs .tab-icon {
  display: none;
}

#urlbar {
font-family: Arial !important;
color: Black !important;
font-size: 26 !important; }
I am currently using Firefox for a kiosk type scenario. We require that the browser run full screen. The issue is that the 'Close' button is not large enough for users to consistently see, so they're having issues figuring out how to close an active browser window. Can anyone tell me if it's possible to change this icon? I've tried using themes, but they tend to theme everything but the close button. Custom configuration details are below. Firefox version: firefox-3.0.4-1.el5.centos Customisations: Access to local drives disabled: Modified the contents of /usr/lib/firefox-3.0.4/chrome/browser.jar, so that browser.js has the added stanza: <pre><nowiki>if (location.match(/^file:/) || location.match(/^\//) || location.match(/^resource:/) || (!location.match(/^about:blank/) && location.match(/^about:/))) { loadURI("about:blank"); }</nowiki></pre> Various menus & bookmarks disabled in chrome/userChrome.css <pre><nowiki>/* Kill "normal" bookmark icons in the bookmarks menu */ menuitem.bookmark-item > .menu-iconic-left { display: none; } /* kill icons for bookmark folders in Bookmarks menu */ menu.bookmark-item > .menu-iconic-left { display: none; } /* kill icons for bookmark groups in Bookmarks menu */ menuitem.bookmark-group > .menu-iconic-left { display: none; } /* Remove the Edit and Help menus Id's for all toplevel menus: file-menu, edit-menu, view-menu, go-menu, bookmarks-menu, tools-menu, helpMenu */ helpMenu { display: none !important; } tools-menu { display: none !important; } file-menu { display: none !important; } edit-menu { display: none !important; } view-menu { display: none !important; } go-menu { display: none !important; } bookmarks-menu { display: none !important; } #autohide-context { display: none !important;} #bookmarksToolbarFolderMenu { display: none !important;} #organizeBookmarksSeparator { display: none !important;} .tabbrowser-tabs .tab-icon { display: none; } #urlbar { font-family: Arial !important; color: Black !important; font-size: 26 !important; }</nowiki></pre>

由cor-el于修改

所有回复 (2)

more options

Try code like this:

#window-controls .toolbarbutton-icon {
 width: 25px !important; 
 height: 25px !important;
}

The three buttons have these IDs:

#minimize-button
#restore-button
#close-button
more options

Thanks for the prompt response, will try it out and post results.