Skip to content

Instantly share code, notes, and snippets.

@Uricorn
Last active August 29, 2015 14:10
Show Gist options
  • Save Uricorn/09fd293541ad70e5194b to your computer and use it in GitHub Desktop.
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
// ==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