Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

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

animated gifs

more options

There was a method described elsewhere to disable animated gifs by changing the image.animation_mode setting.

This setting appears to disable playing the animation, but the gif data is still loaded.

Is there some way to disable loading the gif at all?

There was a method described elsewhere to disable animated gifs by changing the image.animation_mode setting. This setting appears to disable playing the animation, but the gif data is still loaded. Is there some way to disable loading the gif at all?

Chosen solution

cor-el said

Animated GIF images are hardly used these days

Not my experience, that is why I am asking how to block them from loading.

cor-el said

do not get confused to think that this is about GIF images

I'm not confused. My question is about animated gifs, not mp4s.

Incidentally I found an addon that does the trick. It's called Gif Blocker. https://add0n.com/gif-blocker.html

It prevents Firefox from loading the gif data completely, not just preventing it from being displayed

Read this answer in context 👍 0

All Replies (5)

more options

I guess there is no way to stop the gif data being loaded. Or maybe nobody is reading these posts. ;-(

If there is anyone interested in writing an addon to stop this, I would give a donation. ;-)

more options

Some websites have animated images that aren't GIF images, but that are really short MP4 files and not GIF files that are covered by the image.animation_mode pref. You can possibly check this in the Inspector via the right-click context menu (Inspect Element).

more options

You can block files with the gif extension in most adblockers, e.g. with uBlock.

more options

Animated GIF images are hardly used these days, so do not get confused to think that this is about GIF images, so there are a lot more ways to animate content.

You can right-click and select "Inspect Element" to open the builtin Inspector with this element selected to see what content this is about.

more options

Chosen Solution

cor-el said

Animated GIF images are hardly used these days

Not my experience, that is why I am asking how to block them from loading.

cor-el said

do not get confused to think that this is about GIF images

I'm not confused. My question is about animated gifs, not mp4s.

Incidentally I found an addon that does the trick. It's called Gif Blocker. https://add0n.com/gif-blocker.html

It prevents Firefox from loading the gif data completely, not just preventing it from being displayed