| <!DOCTYPE html> |
| |
| <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. --> |
| |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <title>History navigation</title> |
| <script type="text/javascript" src="history.js"></script> |
| </head> |
| <body> |
| <p></p> |
| <div id='onloaddiv'></div> |
| <div id='status'></div> |
| </p> |
| |
| <div> |
| <a href='#' id='currentUrl'></a> |
| </div> |
| |
| <br> |
| <br> |
| <input type="button" value="pushStateHashWithObject" |
| id="pushStateHashWithObject" onclick="pushStateHashWithObject()" /><br> |
| <input type="button" value="pushStateHashString" |
| id="pushStateHashString" onclick="pushStateHashString()" /><br> |
| <input type="button" value="pushStateRootPath" |
| id="pushStateRootPath" onclick="pushStateRootPath()" /><br> |
| <input type="button" value="pushStatePath" |
| id="pushStatePath" onclick="pushStatePath()" /><br> |
| <input type="button" value="pushStatePathSpace" |
| id="pushStatePathSpace" onclick="pushStatePathSpace()" /><br> |
| <input type="button" value="replaceStateHashWithObject" |
| id="replaceStateHashWithObject" onclick="replaceStateHashWithObject()" /><br> |
| <input type="button" value="replaceStateHashString" |
| id="replaceStateHashString" onclick="replaceStateHashString()" /><br> |
| <input type="button" value="replaceStateRootPathSpace" |
| id="replaceStateRootPathSpace" onclick="replaceStateRootPathSpace()" /><br> |
| <input type="button" value="replaceStatePath" |
| id="replaceStatePath" onclick="replaceStatePath()" /><br> |
| |
| <br> |
| <br> |
| |
| <input type="button" value="goBack" id="goBack" onclick="goBack()" /><br> |
| <input type="button" value="goBack2" id="goBack2" onclick="goBack2()" /><br> |
| <input type="button" value="goBack3" id="goBack3" onclick="goBack3()" /><br> |
| <input type="button" value="goBack4" id="goBack4" onclick="goBack4()" /><br> |
| <input type="button" value="goForward" id="goForward" |
| onclick="goForward()" /><br> |
| <input type="button" value="goForward2" id="goForward2" |
| onclick="goForward2()" /><br> |
| <input type="button" value="goForward4" id="goForward4" |
| onclick="goForward4()" /><br> |
| |
| <br> |
| <br> |
| |
| <input type="button" value="pushStateUnicode" id="pushStateUnicode" |
| onclick="pushStateUnicode()" /><br> |
| <input type="button" value="pushStateUnicode2" id="pushStateUnicode2" |
| onclick="pushStateUnicode2()" /> |
| |
| </body> |
| </html> |