Skip to content

Instantly share code, notes, and snippets.

@tomac4t
Created February 7, 2025 09:54
Show Gist options
  • Save tomac4t/9530f8a08cf0ae58d6cd6be95967ff35 to your computer and use it in GitHub Desktop.
Save tomac4t/9530f8a08cf0ae58d6cd6be95967ff35 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>PushState Title</title>
</head>
<body>
<h1>PushState Test</h1>
<button onclick="history.pushState(null, '', 'bar.html')">Push State</button>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment