WWW::Scripter::History - History object for WWW::Scripter
Returns the number of items in the browser's history.
This is 1 when you haven't gone anywhere yet.
Returns the current position in the history list.
- go ( $distance )
Moves forward (positive
$distance) or back (negative) in history, or reloads the page if
$distanceis 0. If the
$distancewould cause navigation beyond either beginning or end of the history list, nothing happens.
- pushState( $some_scalar, $title, $url )
This adds a 'dummy' entry to browser history, which is identical to the current page (actually, it is the current page), except that it has the state information contained in
$some_scalarassociated with it. The
$url, if specified, becomes the URL of the current page (so a script can lie about what the URL is). The
AUTHOR & COPYRIGHT