That's not something Firefox is doing to prevent ads from showing up. You've simply selected to disable all images. Same thing can be done in IE, but who wants to browse the web without images?