Skip to content

Instantly share code, notes, and snippets.

@user19
Last active August 29, 2015 14:09
Show Gist options
  • Save user19/5ef4297fb87fbe5da80c to your computer and use it in GitHub Desktop.
Save user19/5ef4297fb87fbe5da80c to your computer and use it in GitHub Desktop.
javascript:(function(){setInterval(function(){var x=new XMLHttpRequest();x.onload=function(){if(x.response.getElementById("now_live")!==null)window.location.href=x.response.getElementById("now_live").getElementsByClassName("community")[0].href;};x.open("GET","http://api.dan.co.jp/get/"+document.getElementsByClassName("commu_name")[0].href,true);x.responseType="document";x.send();},3000);})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment