Skip to content

Instantly share code, notes, and snippets.

@skyboy
Created December 25, 2009 06:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skyboy/263541 to your computer and use it in GitHub Desktop.
Save skyboy/263541 to your computer and use it in GitHub Desktop.
javascript:holodeck={roomGroups:function(data){document.open();for(var i in data){try{var a=data[i], d=a.rooms;document.write("<br><h2>"+a.name+"</h2><br>");for(var b in d){try{var c=d[b];document.write(c.name+" [ <b>"+c.owner+"</b> ] ("+c.registered_user_count+" users, "+(c.total_user_count-c.registered_user_count)+"guests): <input value='?room_id="+c.id+"' onclick='this.select()'><br/>")}catch(e){throw e;}}}catch(a){document.write(a);break;}}document.close();}};eval(document.body.textContent);void(0)
/* Go to http://www.kongregate.com/rooms.js?game_id=6829 then paste the above script into the url bar and press enter */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment