為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.