您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically set minimum-cost values in the magic form.
// ==UserScript== // @name U2 Magic Form // @namespace https://u2.dmhy.org/ // @version 1.0 // @description Automatically set minimum-cost values in the magic form. // @author LightArrowsEXE // @grant GM_xmlhttpRequest // @match *://u2.dmhy.org/* // @exclude *://u2.dmhy.org/shoutbox.php* // @icon https://u2.dmhy.org/favicon.ico // @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js // @license MIT // ==/UserScript== (function() { 'use strict'; const hoursInput = document.querySelector('input[name="hours"]'); if (hoursInput) { hoursInput.value = "24"; } const radioLabel = document.querySelector('label[for="s_user_self"]'); if (radioLabel) { const radioInput = document.getElementById(radioLabel.getAttribute("for")); if (radioInput) { radioInput.checked = true; } } const queryButton = document.querySelector("input#btn_query"); if (queryButton) { queryButton.click(); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址