您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Allow player to write digicode on DreadCast
当前为
// ==UserScript== // @name DC - Digimobile // @namespace http://tampermonkey.net/ // @version 0.2 // @description Allow player to write digicode on DreadCast // @author Ajira // @match https://www.dreadcast.net/Main // @grant none // ==/UserScript== (function() { 'use strict'; document.getElementById("zone_lightBox").addEventListener('DOMNodeInserted', function() { var digiInput = document.getElementById("lb_textinput_digicode"); if (digiInput == null) { return; } var digiForm = digiInput.parentNode.parentNode; if (digiForm == null) { return; } if (digiForm.getAttribute("test") == "test") { return; } digiInput.setAttribute("style", "border:1px solid red;"); digiForm.setAttribute("test", "test"); var digiBox = digiForm.parentNode.parentNode; digiBox.appendChild(digiForm); }, false); })();