plugLoader

Autorun Plug.dj scripts add a custom mention sound.

Verze ze dne 06. 04. 2015. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name           plugLoader
// @namespace      FirstZero
// @description    Autorun Plug.dj scripts add a custom mention sound.
// @author         Docpify (Custom mention) + Sunxperous (Plugmixer) + Unknown for original custom mention script.
// @include        https://plug.dj/*
// @grant          none
// @version 22.03.2015
//
// ==/UserScript==

var a = function() {
    var a = {
        b: function() {
            if (typeof API !== 'undefined' && API.enabled)
                this.c();
            else
                setTimeout(function() { a.b(); }, 100);
        },
        c: function() {
            var mp3 = "https://i.animemusic.me/funyaah.mp3"; // change the URL of the mp3 here (MUST be https link or do the following in your browser
            //go to about:config (put that in the url bar) then find -> security.mixed_content.block_active_content and set it as false.)
            $.getScript('https://code.radiant.dj/rs.min.js');
            $.getScript('https://plug.runsafe.no/noisy.js', function(){ addMention(mp3);});
            $('.background').remove();
            $.getScript('https://plugmixer.sunwj.com/local');
//uncomment this if you want to use mpv as flash replacement on plug (requires mozplugger + https://gist.githubusercontent.com/FirstZero/a7361b7a56912349ddc5/raw/):
//          $.getScript('https://rawgit.com/Epictek/3bbfb670f20a6f015366/raw/d96ed7d5df15004650b99fd635be3f7e012a7397/plugmpv.js');
        };
    };
    a.b();
};
var b = document.createElement('script');
b.textContent = '(' + a.toString() + ')();';
document.head.appendChild(b);