搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 1 个回答
  • 1 人有此问题
  • 5 次查看
  • 最后回复者为 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. :)

由cor-el于修改

所有回复 (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.