Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<meta charset="utf-8">
<title>A page that sets window.name</title>
<script>
"use strict";
window.onload = () => {
window.name = location.hash.slice(1); // Drop the first '#' character.
window.name = "spices";
};
</script>