When a site is blocked by my host file, is there a way to suppress the message?
Failed to Connect
The connection was refused when attempting to contact pubads.g.doubleclick.net.
Supress connection refused message
-
- Posts: 6426
- Joined: February 3rd, 2009, 6:29 pm
Re: Supress connection refused message
You can style the net error messages in Firefox.
http://kb.mozillazine.org/UserContent.css
I assume SeaMonkey uses similar net error pages.
Code: Select all
/* Firefox userContent.css */
@-moz-document regexp("^about:neterror\\?.*") {
html { background-color: black !important; }
body { display: none !important; }
}
I assume SeaMonkey uses similar net error pages.
Last edited by morat on February 28th, 2019, 5:06 pm, edited 1 time in total.
-
- Posts: 8779
- Joined: May 7th, 2007, 12:07 pm
Re: Supress connection refused message
Why would you try to access a site that you blocked? If I block access of certain hosts to my browser, it is because I want no contact with them.