Skip to content

Instantly share code, notes, and snippets.

@audaxion
Last active December 30, 2015 20:59
Show Gist options
  • Save audaxion/7884229 to your computer and use it in GitHub Desktop.
Save audaxion/7884229 to your computer and use it in GitHub Desktop.
Plug.dj bookmarklets
javascript:(function(){ API.chatLog("Setting up autowoot"); $("#woot").click(); API.on(API.DJ_ADVANCE, function() { setTimeout(function() {$("#woot").click();}, 10000); }); }());
javascript: (function () {document.body.style.backgroundImage = 'url(http://i.imgur.com/zuEvBkP.png)';}());
javascript:(function(){ API.chatLog("Setting up autowoot for ranked members ONLY"); if (API.getDJ().permission >= API.ROLE.RESIDENTDJ) {$("#woot").click();} API.on(API.DJ_ADVANCE, function(obj) { if(obj == null) return; if (obj.dj.permission >= API.ROLE.RESIDENTDJ) {setTimeout(function() {$("#woot").click();}, 5000);} }); }());
javascript:(function(){$("#playback").toggle();}());
javascript:(function(){if($("#playback").css('visibility')%20==%20'hidden'){API.chatLog('Showing%20video');$("#playback").css('visibility','visible');}else{API.chatLog('Hiding%20video');$("#playback").css('visibility','hidden');}}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment