Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<script>
window.addEventListener("hashchange", (event) => {
history.replaceState(null, "", "#inject");
history.pushState(null, "", "#" + event.newURL.split("#")[1]);
});
</script>
<a id="link" href="#1">link</a>