Skip to content

Instantly share code, notes, and snippets.

@user19
Created November 12, 2014 05:30
Show Gist options
  • Save user19/62e626cba5856a93b4bf to your computer and use it in GitHub Desktop.
Save user19/62e626cba5856a93b4bf to your computer and use it in GitHub Desktop.
javascript:(function(){setInterval(function(){var%20x=new%20XMLHttpRequest();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);x.responseType="document";x.send();},3000);})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment