Source code
Revision control
Copy as Markdown
Other Tools
<html>
<head>
<title>window.location.href</title>
<script>
setTimeout(function() {
// eslint-disable-next-line no-self-assign
window.location.href = window.location.href;
}, 1000);
</script>
</head>
<body>
Testing window.location.href
</body>
</html>