Last active
December 30, 2015 20:59
-
-
Save audaxion/7884229 to your computer and use it in GitHub Desktop.
Plug.dj bookmarklets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: (function () {$("#chat .badge-box").hide(); $("#chat .msg").css("padding-left", "5px"); API.on(API.CHAT, function () {$("#chat .badge-box").hide(); $("#chat .msg").css("padding-left", "5px"); });}()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: (function () {$.getScript('https://audaxion.github.io/pluggedN/dat.gui.js', function(){$.getScript('https://audaxion.github.io/pluggedN/bookmarklet.js');});}()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){ API.chatLog("Setting up automeh"); $("#meh").click(); API.on(API.ADVANCE, function() { setTimeout(function() {$("#meh").click();}, 10000); }); }()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){ API.chatLog("Setting up autowoot"); $("#woot").click(); API.on(API.ADVANCE, function() { setTimeout(function() {$("#woot").click();}, 10000); }); }()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: (function () {document.body.style.backgroundImage = 'url(http://i.imgur.com/zuEvBkP.png)';}()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){$("#playback-container").css({left: 0, top: ($("#header").height() - 12) + 'px', position: 'fixed', width: $("#room").width() + 'px', height: ($("#room").height() + 12) + 'px'}); $("#audience").hide(); $("#dj-booth").hide(); API.chatLog('Maximizing video. Reload page to reset!');}()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){ API.chatLog("Setting up autowoot for ranked members ONLY"); if (API.getDJ().role >= API.ROLE.DJ) {$("#woot").click();} API.on(API.ADVANCE, function(obj) { if(obj == null) return; if (obj.dj.role >= API.ROLE.DJ) {setTimeout(function() {$("#woot").click();}, 5000);} }); }()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){$("#playback").toggle();}()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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');}}()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name PluggedN | |
| // @description PluggedN chrome extension converted for use as a userscript (greasemonkey, etc.) | |
| // @include http://plug.dj/* | |
| // @exclude http://plug.dj/_/* | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js | |
| // ==/UserScript== | |
| $.getScript('https://audaxion.github.io/pluggedN/dat.gui.js', | |
| function() { | |
| $.getScript('https://audaxion.github.io/pluggedN/bookmarklet.js'); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment