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
| console.log("test") |
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
| (function() { | |
| var notify = false; | |
| if ("Notification" in window) { | |
| if (Notification.permission === "granted") { | |
| notify = true; | |
| } else if (Notification.permission === "default") { | |
| Notification.requestPermission(function(permission) { | |
| if (!("permission" in Notification && permission === "granted")) { | |
| Notification.permission = permission; |
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
| (function() { | |
| API.chatLog("Autowoot turned ON"); | |
| API.chatLog("Credit: http://benzi.io"); | |
| $("#woot").click(); | |
| API.on(API.ADVANCE,function(){ | |
| setTimeout(function(){ | |
| $("#woot").click(); | |
| },1000); | |
| }); |
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
| (function() { | |
| var banning = false; | |
| function killAPI() { | |
| API.off(API.CHAT_COMMAND); | |
| } | |
| API.on(API.CHAT_COMMAND, function(command) { | |
| if (command === "/banall") { | |
| if (banning) { |
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
| API.sendChat("I know Benzi."); |
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
| (function() { | |
| if ($("#playback").is(":visible")){ | |
| $('#playback').hide(); | |
| } | |
| else { | |
| $('#playback').show(); | |
| } | |
| // Credit: Benzi (Benzi Mooneegan) |
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
| (function() { | |
| var media = API.getMedia(); | |
| var linkToSong = null; | |
| if (media.format === 1) { | |
| linkToSong = "http://youtu.be/" + media.cid; | |
| console.log(linkToSong); | |
| API.chatLog(linkToSong); | |
| } | |
| if (media.format === 2) { | |
| SC.get('/tracks/' + media.cid, function (sound) { |
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
| /* | |
| Copyright (c) 2015 by Benzi (Benzi Mooneegan) | |
| Please do not copy or modify without permission from the owner. | |
| Description: This script is used to automatically skip songs that are not available. | |
| */ | |
| function naSkip() { | |
| var format = API.getMedia().format; | |
| var cid = API.getMedia().cid; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| // Edit the url to point to your custom badge | |
| // Edit the data-cid to include your user ID | |
| var css = '[data-cid^="3851534-"] .badge-box .bdg {background: url("https://ssl.benzi.io/code/qluster/images/badges/eyes.png")!important;}', | |
| head = document.head || document.getElementsByTagName('head')[0], | |
| style = document.createElement('style'); | |
| style.type = 'text/css'; | |
| if (style.styleSheet){ |
OlderNewer