ThinkLemon

I think there used to be a tagline about (tag)soup here… anyway…


Also visit:


Turning off the ‘friendly HTTP error messages’ in Firefox

Get Firefox By accident I stumbled upon this Firefox somewhat equivalent of IE’s ‘Show friendly HTTP error messages’ option. Any webdeveloper should have this turned off by default. How else will you know what the problem is? So here’s how to do it:

  1. Open up a new tab (CTRL+T) or window (CTRL+N).
  2. Type in de addressbar: about:config.
  3. In the filterbar type: error and press enter.
  4. Now set the value of the ‘browser.xul.error_pages.enabled‘ to ‘true‘. Double clicking will do.
  5. Restart Firefox.

Now you’ll get extended warnings instead of the simple warning dialogs when, for example, you accidentaly link to a non-existant domain. Or, like me, the dreaded ‘The document contains no data’.

If you don’t know where to find this in IE: ‘Tools’ > ‘Internet Options…’ > ‘Advanced’-tab > Near the end of the ‘Browsing’-section. > Uncheck.

Previous article: Next article:

Related Articles

Google Toolbar for Firefox
Google has released an official beta, what isn't beta from Google these days, of their toolbar for Firefox. Previously this was only available for IE-users. Get the toolbar at: http://toolbar.google.com/firefox/ Furthermore they've released two more extensions: Google...
2.0.0.2 does not equal 2.0.0.*?
Here's a weird Firefox add-on installation error-message: Looks like Firefox 2.0.0.x isn't the same as 2.0.0.2. Update: Fixed it with some notes from AMO a.k.a. version-number hacking....
Favorite browser?
Yesterday I furled a CNET article which declared Mozilla Firefox victorious. Ok, ok, firefox won from contenders like IE, Opera & Netscape (8). All of which I didn't suit me. Here's the real story. I've...

6 Responses to “Turning off the ‘friendly HTTP error messages’ in Firefox”

  1. The Code Couch - urning off friendly HTTP error messages in Firefox Says:
    December 27th, 2005 at 5:36 pm

    [...] http://www.thinklemon.com/weblog/2005/06/22/turning-off-the-friendly-http-error-messages-in-firefox/ [...]

  2. Code Couch » Turning off friendly HTTP error messages in Firefox Says:
    May 16th, 2006 at 11:39 pm

    [...] http://www.thinklemon.com/weblog/2005/06/22/turning-off-the-friendly-http-error-messages-in-firefox/ [...]

  3. s Says:
    August 24th, 2006 at 5:35 pm

    I tried this in Firefox and it has always been set to true, which is the default. However, I still get the friendly error messages.

    On another note, if I enter a URL (i.e spike), (which runs off to my localhost spike proxy), and the proxy is down, instaed it looks up on Google and sends the request to spiketv.com (or net), which is rather sad.

    Anyone know how to solve this one as well?

    Cheers,s

  4. Caspar Says:
    August 24th, 2006 at 11:26 pm

    This setting was only valid in the Fx1.0 days. When all you got was an alert box stating Firefox couldn’t do something, instead of telling exactly what went wrong. Since 1.5 it’s the other way around. Now you’ll get an error page instead of a dialog box. (Setting it to false still reverts back to the dialog.)

    If Firefox cannot resolve the address (spike) it’ll do an ‘Im feeling lucky’ on Google. That’s why you’ll end up on ’spiketv’. To tell Firefox to look on your localhost no matter what, you’ll need to do some rerouting on your system (I assume). On Windows you’ll need to alter the HOSTS-file and tell the OS ’spike’ is ‘127.0.0.1:(port)’. But look that up as it’s too long a story to post here. :-)

  5. Caspar Says:
    August 24th, 2006 at 11:45 pm

    On a sidenote: Roachfiend.com has a post on hacking Firefox’ error pages. But that’s probably not for the faint of heart. ;-)

  6. Joe Green Says:
    October 20th, 2009 at 10:23 am

    I applied the change to turn off the “friendly” messages (what could be more friendly than 404 or 500?!) and closed FF but when I tried to restart it, I was told it was already running and I had to reboot. I also still get the messages this change was meant to disable. Sigh.

Reply to the article or a commenter

Comment on this article

Please note that your comment may be withheld from immediate publication. Keep your comment on-topic/on-commenter and your comment will be published ASAP. (Off-topic comments will be deleted at the moderator's discretion. Please us the contact form if you feel your comment has been deleted unduely.)


Search

Are you looking for:

Recent Comments

  • jon: does anyone know wherei can get a free trial for macromedia studio 8...
  • Joe Green: I applied the change to turn off the “friendly”...
  • Lampdocs: I’ve got a problem: sometimes my posts are splitted, but the...
  • Leonard Gude: Possible crater in Carroll Valley PA 39°44′36.00″ N...
  • phoenix: g

Recent Articles

Archives


ThinkLemon is proudly powered by pure will-power, determination and lack of direction in general. Furthermore, it sits on a piece of hardware, I have no clue where, that somehow manages to support a webserver, a scripting language, a database and therefore ... a tool to fill this space.

Entries (RSS) | Comments (RSS).