@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

/* Version: 1.2. Yeah.
   No changelog for you! */

@-moz-document url(chrome://browser/content/preferences/preferences.xul) {
   /* Hide 'Clear X Now' buttons in Edit -> Preferences -> Privacy
      Since I'm unable to use IDs, this may mess up in some future version of Firefox (it's written for 1.5). */
   /*#panePrivacy button[item="cache"],*/
   #panePrivacy button[item="cookies"],
   /*#panePrivacy button[item="downloads"],*/
   #panePrivacy button[item="formdata"],
   #panePrivacy button[item="history"] {
      display: none;
   }
}

@-moz-document url(chrome://browser/content/preferences/permissions.xul) {
   /* Hide 'Remove All Sites' buttons in permissions managers (like for images or cookies) */
   #removeAllPermissions {
      display: none;
   }
}

@-moz-document url(chrome://passwordmgr/content/passwordManager.xul) {
   /* Hide 'Remove All' button in the Password Manager */
   #removeAllSignons {
      display: none;
   }
}