Skip to content

Instantly share code, notes, and snippets.

@mrkurt
Created July 22, 2010 00:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrkurt/485384 to your computer and use it in GitHub Desktop.
Save mrkurt/485384 to your computer and use it in GitHub Desktop.
var dashes = ""; var num = 20; while(--num) dashes += "-"; setInterval(function() { window.history.pushState("", "", '/sticky-history?' + dashes.slice(0, num % 20) + "foo" + dashes.slice(num % 20)); num++;}, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment