nsIGlobalHistory

您正在阅读此内容的英文版本,因为该语系尚未翻译。 帮助我们翻译此文章吧!

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().