您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Autorun Plug.dj scripts add a custom mention sound.
当前为
- // ==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);