MDN self-hosted library · e01.org

`:-moz-user-disabled` CSS pseudo-class

The :-moz-user-disabled CSS pseudo-class is a Mozilla extension that matches elements representing images that were not loaded because images have been entirely disabled by the user's preferences.

The :-moz-user-disabled CSS pseudo-class is a Mozilla extension that matches elements representing images that were not loaded because images have been entirely disabled by the user's preferences.

[!NOTE] This selector is mainly intended to be used by theme developers.

Syntax

:-moz-user-disabled {
  /* ... */
}

Examples

Styling user-disabled elements

:-moz-user-disabled {
  background-color: lightgray;
  padding: 8px;
}

Specifications

Not part of any standard.

See also

  • :-moz-broken, :-moz-loading, :-moz-suppressed