Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Disallow images to load by default on websites, but to be able to whitelist some

  • 1 (رد واحد)
  • 1 has this problem
  • 5 views
  • آخر ردّ كتبه Brendan

more options

Hello all,

I would like to disallow/block images by default for all sites. I have found this can be done on [this] thread which outlines that: "You can disable images on the about:config page :

Type about:config in the address bar and press Enter (accept the risk, if asked) Type in the search bar : permissions.default.image and set its value to 2"

This works very well and I am happy with this, however, in addition to this I would then like to be able to whitelist some websites that I want to allow images to be loaded on (i.e. wikipedia).

I have found in [this] thread the 'block images domain checkbox' was discontinued in Firefox 72, but can be re-enabled with: "extensions.contentblocker.enabled = true" also in "about:config", however, I am unsure if I can use this to whitelist sites.

TL;DR: I want to block all images on websites by default, but I want to be able to whitelist some that trust; how can I do this?

Thank you in advance. :)

Hello all, I would like to disallow/block images by default for all sites. I have found this can be done on [[https://support.mozilla.org/en-US/questions/1226175 this]] thread which outlines that: "You can disable images on the '''about:config''' page : Type '''about:config''' in the address bar and press Enter (accept the risk, if asked) Type in the search bar : '''permissions.default.image''' and set its value to '''2'''" This works very well and I am happy with this, however, in addition to this I would then like to be able to whitelist some websites that I want to allow images to be loaded on (i.e. wikipedia). I have found in [[https://support.mozilla.org/en-US/questions/1277711 this]] thread the 'block images domain checkbox' was discontinued in Firefox 72, but can be re-enabled with: "extensions.contentblocker.enabled = true" also in "about:config", however, I am unsure if I can use this to whitelist sites. TL;DR: I want to block all images on websites by default, but I want to be able to whitelist some that trust; how can I do this? Thank you in advance. :)

Modified by cor-el

All Replies (1)

more options

Sorry, I am new here and I failed with my links:

The first one is this one, and the second one is this one.