current property (history)
Returns the URL of the current document in the history array.
This property requires the UniversalBrowserRead privilege in Firefox.
You can find the related objects in the Supported by objects section below.
This property is read-only.
String that represents the URL.
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the current property:
Did you find this example helpful?
User Contributed Comments