plugLoader

Autorun plugCubed on plug.dj and add a custom mention sound.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name           plugLoader
// @namespace      FirstZero
// @description    Autorun plugCubed on plug.dj and add a custom mention sound.
// @author         TAT (plugcubed) + Docpify (Custom mention) + Unknown for original custom mention script.
// @include        https://plug.dj/*
// @grant          none
// @version 1.0
// ==/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://plug.runsafe.no/beta/freshy.js');
            $.getScript('https://plugmixer.sunwj.com/local');
            $.getScript('https://code.radiant.dj/rs.min.js');
//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/3ec6f33f9accd2e11649c7f8b93de7c72d7a04a0/plugmpv.js');
        }
    };
    a.b();
};
var b = document.createElement('script');
b.textContent = '(' + a.toString() + ')();';
document.head.appendChild(b);