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.