The default action is to get the nsIHelperAppLauncherDialog service and
call its Show() method (see
http://lxr.mozilla.org/seamonkey/source/uriloader/exthandler/nsExternalHelperAppService.cpp#829).
You can replace what happens by replacing this service and
reimplementing that method.
This is in the process of changing somewhat (moving that service so that
it is implemented in mozilla/embedding and changing it somewhat). See
bug 70228 (http://bugzilla.mozilla.org/show_bug.cgi?id=70228).
Bill Law
Adrian Mardare wrote:
> Hi...
> In an embeded mozilla browser,
> is there a way I can replace the default action which takes place
> when no registered content handlers are available ?
> ( displaying the dialog box asking
> the user if the content should be saved to disk... ).
> Adrian