您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Script for pc players
当前为
// ==UserScript== // @name PC sheet field // @namespace http://tampermonkey.net/ // @version 0.1 // @description Script for pc players // @author Hustandant#8787 // @match *://mppclone.com/* // @include *://www.multiplayerpiano.com/* // @include *://multiplayerpiano.com/* // @include *://piano.ourworldofpixels.com/* // @include *://mpp.terrium.net/* // @include *://mppfork.netlify.app/* // @match *.mpp.hri7566.info/* // @match *://mpp.autoplayer.space/* // @license MIT // @icon https://github.com/Hustoroff/mpp/blob/main/icon.png?raw=true // @grant none // ==/UserScript== $("#bottom .relative").append(`<div id="pc_btn" class="ugly-button">PC field</div>`); $("#pc_btn").css({position: "absolute", left: "1020px", top: "4px"}).on("click", () => { MPP.client.emit("notification", { title: "PC sheet field (script by Hustandant#8787)", id:"area_notification", duration:-1, target:"#piano", html:`<textarea id="pcArea" oninput="resize()" onmousedown="resize()" placeholder="Your sheets..."></textarea> <script> function resize() { document.getElementById("pcArea").parentNode.parentNode.style.width = "100%" } </script>` }); });