Skip to content

Instantly share code, notes, and snippets.

@nsa-yoda
Last active December 18, 2015 12:39
Show Gist options
  • Save nsa-yoda/5784241 to your computer and use it in GitHub Desktop.
Save nsa-yoda/5784241 to your computer and use it in GitHub Desktop.
Useful for doing side by side CSS styling without having to reload the page - see results on the fly with a cheap function.
<html>
<head>
<title>Blerg</title>
</head>
<body>
This page reloads every 100ms
<script type="text/javascript">
!(function(){
setTimeout(function(){
window.location = window.location;
}, 100);
})();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment