Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function mute() {
- var a = isMuted;
- if (!isMuted) {
- lastVol = API.getVolume();
- artMute = isMuted = true;
- API.setVolume(0);
- }
- return !a;
- }
- /*
- (function () {
- function e() {
- t = new XMLHttpRequest();
- t.open("GET", "http://plug.dj/friendshipismagic/");
- t.onerror = e;
- t.onload = function (a) {
- if (t.status == 500)
- return e();
- console.log("Plug is working :D\nRefreshing in 3 seconds");
- setTimeout(function () {
- location.reload()
- }, 3000)
- };
- t.send()
- }
- e()
- })()
- */
- function cycleEnabled() {return $(".cycle-toggle")[0].className.indexOf("enabled") !== -1; }
- function cycleToggle() {$(".cycle-toggle").click(); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement