Source code

Revision control

Copy as Markdown

Other Tools

<!doctype html>
<title>Set cookie from location.hash</title>
<script>
if (location.hash)
document.cookie = decodeURIComponent(location.hash.substr(1))+'=yes;path=/;max-age=15';
</script>