| Newsgroups |
gmane.comp.mozilla.devel.xpfe |
| Message-ID |
<[email protected]> |
Hi all,
I have written a small XUL application, which loads some html files from disk, and extracts the text from some DOM nodes.
The problem is that when something is not found (i.e. the page references something like "/scripts/..."), xulrunner issues an alert that a file was not found. I have added some code to press the "ok" when alerts appear, which mostly works, but not always. Sometimes, the alert remains there, blocking my application until I manually press the ok buttons.
So, my question is: how can I disable this kind of alerts completely?
I don't want an alert to show up when a file was not found, when I am loading a saved html page from disk...
Regards,
George