Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

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

Is there any way to block images by format?

  • 7 majibu
  • 1 ana tatizo hili
  • 10 views
  • Last reply by cor-el

more options

I know it's possible to use configuration mania to block images from certain sites. But is there any simple way to block all gifs, to avoid needing special add-ons to block animated gifs?

I know it's possible to use configuration mania to block images from certain sites. But is there any simple way to block all gifs, to avoid needing special add-ons to block animated gifs?

All Replies (7)

more options

hi MarjaE, you don't need a particular addon in order to avoid animated gifs, as this can be done with built-in preferences in firefox as well: http://kb.mozillazine.org/Animated_images

more options

Tried the about:config fix, it doesn't work, and hasn't worked for years.

more options

it worked fine when i set image.animation_mode to none just when i tested it before...

more options

It isn't working for me. I think it may block certain formats, but not others, and especially not javascript-based animations.

more options

Although blocking specific formats probably wouldn't block javascript anyway.

more options

yes, this only works for moving GIFs

more options

Animation done via JavaScript can only be stopped by blocking that specific script or possibly by hiding specific content via a blocking extension if you visit such pages very often. You would have to learn how you identify this content and what rules to create to block it.

You can also stop such an animation by disabling JavaScript on the tab after the page has finished loading.