You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.


TOC PREV NEXT INDEX

Embedding Gecko API


nsIHistoryEntry


This interface provides access to individual entries in session history. Each document or frame will have an nsIHistoryEntry associated with it. nsIHistoryEntry provides access to information like URI, title and frame traversal status for that document. This interface is scriptable.

Attributes
readonly attribute nsIURI nsIHistoryEntry::URI

Gets the URI of the current entry. The object returned is of type nsIURI.

readonly attribute wstring nsIHistoryEntry:: title

Gets the title of the current entry. The object returned is an encoded string.

readonly attribute boolean nsIHistoryEntry:: isSubFrame

Gets a boolean flag which indicates if the entry was created as a result of a subframe navigation. This flag will be FALSE when a frameset page is visited for the first time. This flag will be TRUE for all history entries created as a result of a subframe navigation


Written by:Ellen Evans | Comments, questions, complaints? Bug 143387
TOC PREV NEXT INDEX