Last active
August 29, 2015 14:10
-
-
Save Uricorn/09fd293541ad70e5194b to your computer and use it in GitHub Desktop.
AutoLoads SenpaiScript, and ability to add a custom mention sound on plug.dj
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 SenpaiScript + Custom MentionSound | |
// @namespace Uricorn | |
// @description Autorun SenpaiScript on plug.dj and add a custom mention sound. | |
// @author Docpify (Custom mention + SenpaiScript) + Uricorn (SenpaiScript) + Unknown for original custom mention script. | |
// @include https://plug.dj/* | |
// @version 2.0.0 | |
// @grant none | |
// ==/UserScript== | |
var a = function() { | |
var a = { | |
b: function() { | |
if (typeof API !== 'undefined' && API.enabled) | |
this.c(); | |
else | |
setTimeout(function() { a.b(); }, 100); | |
}, | |
c: function() { | |
console.log('SenpaiScript + Custom Mention Sound v2.0 enabled!'); | |
$.getScript('https://i.animemusic.me/PlugUserspace/freshy.js'); | |
} | |
}; | |
a.b(); | |
}; | |
var b = document.createElement('script'); | |
b.textContent = '(' + a.toString() + ')();'; | |
document.head.appendChild(b); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment