Created
June 17, 2013 22:31
-
-
Save jdlrobson/5801089 to your computer and use it in GitHub Desktop.
When run from http (not file uri) the address bar is updated to be "crêpe.html"
(Chrome and Firefox)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script> | |
<script type="text/javascript" src="javascripts/externals/history.js"></script> | |
<script type="text/javascript" src="javascripts/externals/history.adapter.jquery.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
History.replaceState( null, "Crêpe" ); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment