您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
自动选择区服,然后隐藏它
// ==UserScript== // @name FF14充值 - 隐藏充值区服区域 // @namespace http://greasyfork.icu/zh-CN/users/1300889 // @version 1.2 // @description 自动选择区服,然后隐藏它 // @author 浮砂 // @license MIT // @match http*://pay.sdo.com/item/GWPAY-100001900* // @icon https://www.google.com/s2/favicons?sz=64&domain=sdo.com // @run-at document-end // @grant none // ==/UserScript== (function() { 'use strict'; // 自动选择区服 const server = '1' // 陆行鸟1|莫古力6|猫小胖7|豆豆柴8 document.querySelectorAll('input[name="gamearea"]').forEach(input => { input.value = server }) // 隐藏相应模块 const style = document.createElement('style') style.textContent = ` li.server, li.serverTips { display: none !important; } .other_amount { display: inline-block !important; } ` document.head.appendChild(style) })();