There are .gif and flash blocking extensions for all of the major browsers.
Adblock can also be configured to block certain extensions.
greasemonkey can also be configured to block certain extensions from loading.
There are loads of workarounds to this problem.