The current property contains a string that specifies the complete URL of the current history entry.
<html> <head> <title> Using the current property of the History object</title> </head> <body> <script language="JavaScript"> <!-- netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); --> </script> <form name=form1> <input type="button" value="Get Current" onClick='alert(window.history.current)'> </form> </body> </html>