nsIBrowserHistory
| IID: | cf937d0d-befa-4105-8a55-ba8cf1bae427 |
| Inherits From: | nsIGlobalHistory2 |
This interface is implemented by the following components:
Properties
readonly PRUint32 count
Count The number of entries in global history
readonly AUTF8String lastPageVisited
LastPageVisited The last page that was visited in a top-level window.
Methods
void hidePage ( nsIURI URI )
void markPageAsTyped ( nsIURI URI )
void removeAllPages ( )
void removePage ( nsIURI URI )
void removePagesFromHost ( AUTF8String host , PRBool entireDomain )
void hidePage ( nsIURI URI )
Hide the specified URL from being enumerated (and thus displayed in the UI)
If the page hasn't been visited yet, then it will be added as if it was visited, and then marked as hidden
- Arguments:
- URI
void markPageAsTyped ( nsIURI URI )
Designate the url as having been explicitly typed in by the user, so it's okay to be an autocomplete result.
- Arguments:
- URI
void removePagesFromHost ( AUTF8String host , PRBool entireDomain )
Remove all pages from the given host. If entireDomain is true, will assume host is a domain, and remove all pages from the entire domain.
- Arguments:
- host
- entireDomain
Reference documentation is generated from Mozilla's source.
