Bug 258405 - "New measure to prevent XUL spoofing also allows other custom toolbars to appear, not only the location bar" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=Mano a1.9=mconnor]

This commit is contained in:
reed@reedloden.com 2007-12-14 16:23:01 -08:00
parent a608326fa8
commit 2dfd774172

View File

@ -75,3 +75,10 @@ tabbrowser {
.tabbrowser-tabs[closebuttons="alltabs"] > .tabbrowser-tab > .tab-close-button {
display: -moz-box;
}
/* Hide extension toolbars that neglected to set the proper class */
window[chromehidden~="location"][chromehidden~="toolbar"] toolbar:not(.chromeclass-menubar),
window[chromehidden~="toolbar"] toolbar:not(.toolbar-primary):not(.chromeclass-menubar)
{
display: none;
}