MozillaZine

Supress connection refused message

User Help for Seamonkey and Mozilla Suite
fixit7
 
Posts: 154
Joined: May 19th, 2015, 3:11 pm

Post Posted February 18th, 2019, 5:52 pm

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.

morat
 
Posts: 3476
Joined: February 3rd, 2009, 6:29 pm

Post Posted February 23rd, 2019, 12:14 pm

You can style the net error messages in Firefox.

Code: Select all
/* Firefox userContent.css */

@-moz-document regexp("^about:neterror\\?.*") {
  html { background-color: black !important; }
  body { display: none !important; }
}

http://kb.mozillazine.org/UserContent.css

I assume SeaMonkey uses similar net error pages.
Last edited by morat on February 28th, 2019, 5:06 pm, edited 1 time in total.

Anonymosity
 
Posts: 8572
Joined: May 7th, 2007, 12:07 pm

Post Posted February 23rd, 2019, 12:34 pm

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.

Return to SeaMonkey Support


Who is online

Users browsing this forum: No registered users and 1 guest