History

Availability

BlackBerry Device Software version 4.2 or later

The History object belongs to the Window object. It stores an array of the URLs that the user visited during the current browser session.

Properties

Property name

Type

Description

Status

Support level

Availability

current

DOMString

Returns the complete URL of the current history entry.

read only

Not part of any standard.

4.6 or later

length

int

Returns the number of URLs in the history list.

read only

Not part of any standard.

4.6 or later

Methods

Method name

Description

Support level

Availability

back()

Displays the previous URL in the BlackBerry Browser History list.

Not part of any standard.

4.6 or later

forward()

Displays the next element in the BlackBerry Browser History list.

Not part of any standard.

4.6 or later

go()

Causes the to display the URL that is the specified number of URLs before or after the current item in the BlackBerry Browser History list.

Not part of any standard.

4.6 or later

Last modified: 2014-03-10



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus