为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Good Way to Block All Pictures? And Block More Pain/Animation?

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 MarjaE

more options

Is there a good way to block all pictures, and block some pain/animation, when loading sites? I know that due to the proliferation of Javascript, it won't be possible to block all pain/animation.

Ideally, for my needs, something which leaves placeholders, with a way to load all pictures on the site, and a way to load individual pictures.

I think there may be add-ons, but https://addons.mozilla.org/en-US/firefox/ has a lot of pain/animation.

Is there a good way to block all pictures, and block some pain/animation, when loading sites? I know that due to the proliferation of Javascript, it won't be possible to block all pain/animation. Ideally, for my needs, something which leaves placeholders, with a way to load all pictures on the site, and a way to load individual pictures. I think there may be add-ons, but https://addons.mozilla.org/en-US/firefox/ has a lot of pain/animation.

所有回复 (3)

more options

I've tried Block Image/Video. It blocked some images on each page but not all, and didn't have a way to unblock select images.

more options

Hi Marja

I have some PrefBar buttons that can block specific content (Images, Media, Plugins, JavaScript, CSS). See the Attributes section for some details:

This is done at docShell level and works in the current tab tab (i.e. it is limited to this specific tab and not to a specific website/domain). This is also all or nothing, so you would need a content blocking extension like uBlock Origin or uMatrix to block selected content.

I don't know if you can disable this content in a new tab by default. I usually first open a new tab and disable what I do not want to see and then load the page. You can try to ask advice at the PrefBar thread at mozillaZine if you want to investigate this to see if you can block content automatically in a new tab.

You need to register at the mozillaZine forum site and your first question post needs approval.

Tab-BlockImages:

{
  "prefbar:info": {
    "formatversion": 3
  },
  "prefbar:menu:enabled": {
    "items": [
      "prefbar:button:prefbartabimages"
    ]
  },
  "prefbar:button:prefbartabimages": {
    "label": "TAB: Images",
    "type": "extcheck",
    "browserbtnupdatefor": "tab",
    "setfunction": "CallFrameScript(value);",
    "getfunction": "CallFrameScript(null, SetValue);",
    "framescript": "if (docShell) {\n  switch(caller) {\n    case \"setfunction\":\n      docShell.allowImages = argument;\n      break;\n    case \"getfunction\":\n      reply = docShell.allowImages;\n      break;\n  }\n}"
  }
}

Tab:BlockMedia:

{
  "prefbar:info": {
    "formatversion": 3
  },
  "prefbar:menu:enabled": {
    "items": [
      "prefbar:button:prefbartabmedia"
    ]
  },
  "prefbar:button:prefbartabmedia": {
    "label": "TAB: Media",
    "type": "extcheck",
    "browserbtnupdatefor": "tab",
    "setfunction": "CallFrameScript(value);",
    "getfunction": "CallFrameScript(null, SetValue);",
    "framescript": "if (docShell) {\n  switch(caller) {\n    case \"setfunction\":\n      docShell.allowMedia = argument;\n      break;\n    case \"getfunction\":\n      reply = docShell.allowMedia;\n      break;\n  }\n}"
  }
}
more options

Thank you, but I don't think I can change the settings for each and every tab.