This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

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

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

  • 3 svar
  • 1 har dette problemet
  • 1 view
  • Siste svar av 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.

All Replies (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.