Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIGlobalHistory

The interface to global history.
28
Introduced
Gecko 1.0
Deprecated
Gecko 2.0
Obsolete
Gecko 15.0
Inherits from: nsISupports Last changed in Gecko 1.7

Method overview

void addPage(in string aURL);
boolean isVisited(in string aURL);

Methods

addPage()

Add a page to the history.

void addPage(
  in string aURL
);
Parameters
aURL
The url to the page.

isVisited()

Checks to see if the given page is in history.

boolean isVisited(
  in string aURL
);
Parameters
aURL
The url to the page.
Return value

true if a page has been passed into addPage().

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh
 Last updated by: Sheppy,