The website of Ura Design
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
307 B

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>hashchange test</title>
</head>
<body style="background:red;overflow:hidden;">
<script>
addEventListener('hashchange', function() {
document.body.style.background = 'lime';
}, false);
location.hash = Math.random();
</script>
</body>
</html>