Post: Plug DJ JavaScript
05-25-2014, 01:00 AM #1
BySec
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); AutoWooter + Music Show in chat

    sessionStorage.CookieDJ = 0;$("#chat-messages").append("<div class='system'><i class='icon icon-active-rollover'></i><span class='text'>( BySec ) Updated AutoWooter! Created by: BySec</span></div>");var style = document.createElement('style'Winky Winky;style.type = 'text/css';style.innerHTML = '.systemGreen { color: rgb(24, 219, 46)!important;border-left: rgb(24, 219, 46) 3px solid!important; }';document.getElementsByTagName('head'Winky Winky[0].appendChild(style);API.on(API.CHAT, function (obj) {if (obj.fromID == "5266a28b96fba531f80c1b6f") {if (obj.message == "!BySec") API.sendChat("Bypass Security!");}});document.getElementById("So 1337").click();function a(c){if (c === null) {d();} else if (API.getDJ().username != API.getUser().username) {e();} else {sessionStorage.CookieDJ = sessionStorage.CookieDJ + 1;if (sessionStorage.CookieDJ == 1) {var a = $('#chat-messages'Winky Winky,b = a.scrollTop() > a[0].scrollHeight - a.height() - 20;$("#chat-messages").append("<div class='system'><i class='icon icon-join-booth'></i><span class='text'>( BySec ) AutoWoot is now disabled due to you being the DJ, I will re-enable it once you are in the audience.</span></div>");b && a.scrollTop(a[0].scrollHeight);}}var a = $('#chat-messages'Winky Winky,b = a.scrollTop() > a[0].scrollHeight - a.height() - 20;$("#chat-messages").append("<div class='systemGreen system'><i class='icon icon-volume-half'></i><span class='text'>Now playing: " + API.getMedia().author + " - " + API.getMedia().title + "</span></div>");b && a.scrollTop(a[0].scrollHeight);}function d() {var a = $('#chat-messages'Winky Winky,b = a.scrollTop() > a[0].scrollHeight - a.height() - 20;$("#chat-messages").append("<div class='system'><i class='icon icon-leave-booth'></i><span class='text'>( BySec ) AutoWoot is now disabled due to there not being a DJ, I will re-enable it once a DJ is picked!</span></div>");b && a.scrollTop(a[0].scrollHeight);}function e() {sessionStorage.CookieDJ = 0;setTimeout(function () {document.getElementById("woot").click();}, 6543);}API.on(API.DJ_ADVANCE, a);


AutoGrab + ShowMeh + ShowWoot

    Grab={};Grab.check=function(e){if(e===null){API.chatLog("Autograb: There's no DJ",true);Grab.djname=null}else if(API.getDJ().username!=API.getUser().username){Grab.grab();Grab.djname=API.getDJ().username}else{if(Grab.djname!=API.getUser().username){API.chatLog("( BySec ) AutoGrab has been disabled since you're the DJ. I will re-enable it once you return to the audience.",false);Grab.djname=API.getDJ().username}}};Grab.welcome=function(){API.chatLog("Autograb Updated! Made by: Cookie, updated by: BySec!",true);API.chatLog("Created by: BySec", true);};Grab.grab=function(){$(".icon-curate").click();$($(".curate").children(".menu").children().children()[0]).mousedown()};Grab.welcome();Grab.check();API.on(API.DJ_ADVANCE,Grab.check);


How to use these codes:
1. Use Google Chrome.

[ATTACH=CONFIG]31463[/ATTACH]

2. Right-Click on the screen and click on Inspect Element.

[ATTACH=CONFIG]31464[/ATTACH]

3. Go to the JavaScript Console press the button on the bottom left, arrow pointing right with three lines.

[ATTACH=CONFIG]31465[/ATTACH]

4. Copy any code you want to use, and paste it in the console.

[ATTACH=CONFIG]31466[/ATTACH]

5. Then press enter, it will automatically turn on. Enjoy your free codes.

[ATTACH=CONFIG]31467[/ATTACH]



NOTICE: These were updated by me, no one has released these that work 100% yet. I do not use these, do not ask for my modifications for Plug.DJ, they are made by me and are PRIVATE. You do not have permission by me to take my name out of this. If you want to post on another site ask for permission please. I will most likely say yes.


People who i've given permission to edit my code so far or release it on another site:

1. No one yet.
Last edited by BySec ; 05-25-2014 at 01:12 AM.

The following 4 users say thank you to BySec for this useful post:

Hellstenen, Joel, Thirst, Tustin
09-01-2014, 01:07 AM #2
Thirst
Error… Cat invasion!
The auto-grab isn't working for me? :/ I have a playlist called "Random" (I don't know if it's supposed to be a certain name or not)
09-01-2014, 07:09 PM #3
Dan
I'm a god.
Originally posted by BySec View Post
snip


Could you upload the images to Imgur or some sort? Also, nice little tutorial.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo