Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

disabling all modal dialogs (alerts)

3 views
Skip to first unread message

goat

unread,
Nov 20, 2009, 2:16:51 AM11/20/09
to
Hi,

I'm building a xulrunner app and each time I come across a situation
within it in which a modal dialog appears (alert), I have to set some
pref to disable it. I was wondering if there is a way to disable all
modal dialogs for an app or at least a list of all the prefs that
would do the job. So far, I've got these prefs set:

pref("dom.max_script_run_time", 0); // no slow script dialogs
pref("dom.max_chrome_script_run_time", 0); // no slow script dialogs
pref("browser.xul.error_pages.enabled", true); // no not page
available dialogs

Thanks.

0 new messages