Permissions.default.image

From MozillaZine Knowledge Base
Revision as of 08:37, 7 May 2006 by Sardisson (talk | contribs) (→‎Related preferences: add link to hostperm.1 article)
Jump to navigationJump to search

Background

This preference controls part of the permissions extension, which is now built by default. The permissions extension allows for a more complete method of allowing, blocking, and restricting content displayed in the browser—including images. Here, the permissions preference takes over image behavior duties from network.image.imageBehavior. It works essentially the same way as the old preference, except the possible values are different (and in different order).

Exceptions to the image loading preference are stored in hostperm.1, as always.

Possible values and their effects

1

Allow all images to load, regardless of origin. (Default)

2

Block all images from loading.

3

Prevent third-party images from loading.

Caveats

  • If you set network.image.imageBehavior, its value will be migrated to permissions.default.image (and then cleared).
  • This preference was not working in Camino 0.9a, but was fixed shortly thereafter.

UI

Deer Park and Mozilla Firefox 1.5 Beta 1/Beta 2

The checkboxes labeled “Load Images” and “for the originating web site only”, located under “Tools → Options → Content”, set this preference to 1 and 3, respectively. Note that the second checkbox was removed (see bug 287571), so that checkbox will not appear in 1.5 final.

First checked in

2004-12-15 by Michiel van Leeuwen

Has an effect in

  • Deer Park (all versions)
  • Mozilla Firefox (all versions since 1.5b1)
  • SeaMonkey (all versions)
  • Camino (all versions since 0.9)

Related bugs

Related preferences

See also

External links