WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
@mozilla.org/browser/favicon-service;1
This component implements the following interfaces:
Properties
readonly nsIURI nsIFaviconService.defaultFavicon
The default favicon URL
Methods
| Interface | Method |
|---|---|
| nsIFaviconService |
void addFailedFavicon ( nsIURI icon )
|
| nsIFaviconService |
void getFaviconData ( nsIURI favicon , out AUTF8String mimeType , out PRUint32 dataLen , out arrayof PRUint8 data )
|
| nsIFaviconService |
nsIURI getFaviconForPage ( nsIURI page )
|
| nsIFaviconService |
nsIURI getFaviconImageForPage ( nsIURI page )
|
| nsIFaviconService |
nsIURI getFaviconLinkForIcon ( nsIURI icon )
|
| nsIFaviconService |
PRBool isFailedFavicon ( nsIURI icon )
|
| nsIFaviconService |
void removeFailedFavicon ( nsIURI icon )
|
| nsIFaviconService |
void setAndLoadFaviconForPage ( nsIURI page , nsIURI favicon , PRBool forceReload )
|
| nsIFaviconService |
void setFaviconData ( nsIURI favicon , arrayof PRUint8 data , PRUint32 dataLen , AUTF8String mimeType , PRTime expiration )
|
| nsIFaviconService |
void setFaviconUrlForPage ( nsIURI page , nsIURI favicon )
|
Reference documentation is generated from Mozilla's source.
