Skip to content

Instantly share code, notes, and snippets.

@elmacnifico
Last active August 29, 2015 13:57
Show Gist options
  • Save elmacnifico/9491617 to your computer and use it in GitHub Desktop.
Save elmacnifico/9491617 to your computer and use it in GitHub Desktop.
<html>
<head
</head>
<body>
<img src="" id="graph"/>
<script>
var myImageElement = document.getElementById("graph");
var url = "http://graph.adjust.io/render";
function render(){
myImageElement.src = url+window.location.search+"&rand="+Math.random();
}
render();
setInterval(function() {
render();
}, 1000);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment