General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
error message popup
Posted by: jamike
Date: December 01, 2005 04:05PM

Is there any way to turn off the error message popup, which shows up whenever KM can't load a website? It would be nice to have this the same way as in the new FF, which just an error website, instead of a popup.

Thanks for help.

Options: ReplyQuote
Re: error message popup
Posted by: Drahken
Date: December 01, 2005 08:44PM

Go to about:config, look for browser.xul.error_pages.enabled and set it to "true".

Options: ReplyQuote
Re: error message popup
Posted by: bst82551
Date: December 02, 2005 03:41AM

Actually, Drahken... I had a lot of trouble with that and, for some reason, setting that true did nothing (the setting did not seem to want to stick).
I had go to (Tools > Advanced Preferences > Prefs...), close K-Meleon while leaving prefs.js open... then manually find/alter the following setting in prefs.js:

user_pref("browser.xul.error_pages.enabled", false);

and set it to

user_pref("browser.xul.error_pages.enabled", true);

Then I saved it, closed it and opened up K-Meleon and it seemed to work fine.

Brian

Options: ReplyQuote
Re: error message popup
Posted by: jamike
Date: December 02, 2005 05:45AM

I don't know what the problem is, but I don't have that entry in about:config, nor in the prefs file. I also tried to search for "error" in the about:config, but no luck there...

Any ideas?

Options: ReplyQuote
Re: error message popup
Posted by: guenter
Date: December 02, 2005 08:57AM

If a pref is not present? ( You can add prefs if missing )


go about:config

right click: there will be a menue that offers "new" - select that:

In our case here: You want to create a new "boolean" with the name of:

browser.xul.error_pages.enabled

and continue to do the settings as mentioned by all the good folks here.

// but this speciffic should be present normally
- so i am not sure if browser or profile is damaged?

Options: ReplyQuote
Re: error message popup
Posted by: kko
Date: December 02, 2005 09:03AM

Simply add the line

user_pref("browser.xul.error_pages.enabled", true);

to your user.js.

@Drahken: Thank you for this tip!

Options: ReplyQuote
Re: error message popup
Posted by: kko
Date: December 02, 2005 09:07AM

// but this speciffic should be present normally
- so i am not sure if browser or profile is damaged?


No. No damage. This pref seems to be not present by default. It wasn't in mine.

Options: ReplyQuote
Re: error message popup
Posted by: Drahken
Date: December 02, 2005 12:37PM

In the newer unofficial releases (like the CFF series), it's enabled by default.

Any time you don't already have a certain pref available, just add it in one of 3 ways: on the about:config screen, in the prefs.js file, or in the user.js file. (Personally, I find the user.js file to be nothing but a hassle.)

Brian: When you're having trouble getting about:config settings to save like that, you probaably have conflicting locations set for your settings directory. Check about:config (or probably prefs.js would be better) and see what it says for the following 2 settings:
kmeleon.general.profileDir
kmeleon.general.settingsDir
Now go to prefs->general->settings directory and see what it says. All 3 of these should match. If one or more is different, it will cause problems trying to save your settings.

Options: ReplyQuote
Re: error message popup
Posted by: guenter
Date: December 02, 2005 03:52PM

thx for info kko - never noticed this one missing but... there is always a first time.

Options: ReplyQuote
Re: error message popup
Posted by: bst82551
Date: December 02, 2005 05:06PM

Oh, alright... well, that was with another build I used a month or two ago... Mhmm.

Brian

Options: ReplyQuote
Re: error message popup
Posted by: jamike
Date: December 02, 2005 08:34PM

I added the value in about:config and it seems to be working.
Thanks a lot for help.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.