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 5395a457d4
commit f9da229439

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;
}