Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using my hosts file to block ad-serving domains like doubleclick.net.

FireFox fills the blocked ad containers, be they frames or divs or whatever, with a page that says:

Unable to connect

Firefox can't establish a connection to the server at .

* The site could be temporarily unavailable or too busy. Try again in a few moments.

* If you are unable to load any pages, check your computer's network connection.

* If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.


I would like to replace this with something less ugly. Is this possible?

I am running XP and FF 3.5.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

A quick googling netted this. Following those instructions should give the result you wish.

share|improve this answer
    
That works. Thanks! –  merkus Nov 28 '09 at 22:52
    
It's a pleasure being of assistance :) –  Arkenklo Nov 29 '09 at 0:09

You can, but it's not pretty. There is a mozilla forum thread that explains 2 ways to do it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.