docshell/base/nsIGlobalHistory.idlScriptable
The interface to global history.
66
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().