12345678910<script>if (window.history) { alert("window.history exists"); window.history.replaceState({}, '', "testlol");} else { alert("window.history doesn't exist");}</script><a href="window.history.html">linky</a>