nsIExternalURLHandlerService

The external URL handler service is used for finding platform-specific applications for handling particular URLs.
1.0
66
Introduced
Gecko 2.0
Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)

Method overview

nsIHandlerInfo getURLHandlerInfoFromOS(in nsIURI aURL, out boolean aFound);

Methods

getURLHandlerInfoFromOS()

Given a URL, looks up the handler info from the operating system. This should be overridden by each operating systems implementation.

nsIHandlerInfo getURLHandlerInfoFromOS(
  in nsIURI aURL,
  out boolean aFound
);
Parameters
aURL
The URL we are looking for.
aFound
Was an operating system default handler for this URL found?
Return value

An nsIHanderInfo for the protocol.