您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
允许你为预付费卡自定义充值金额
// ==UserScript== // @name CTMO Custom Recharge 中国电信澳门自定义充值 // @namespace https://greasyfork.org/zh-CN/users/168542-archeb // @version 0.1 // @description 允许你为预付费卡自定义充值金额 // @author Archeb // @license MIT // @match https://www.1888.com.mo/payRecharge/goToRecharge* // @icon https://www.google.com/s2/favicons?sz=64&domain=1888.com.mo // @grant none // ==/UserScript== (function() { function addStyle(css) { const style = document.getElementById("GM_addStyleBy8626") || (function() { const style = document.createElement('style'); style.type = 'text/css'; style.id = "GM_addStyleBy8626"; document.head.appendChild(style); return style; })(); const sheet = style.sheet; sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length); } addStyle(`form#dataForm { text-align: left; margin-left: 3%; margin-right: 3%; margin-top: 30px; font-size: 1.5em; }`) document.querySelector('#payMoney').remove() document.querySelector('.confirm-price_bd>h3').remove() document.querySelector('#dataForm #payMoneyData').type="input" document.querySelector('#dataForm #payMoneyData').placeholder = "自定义金额"; document.querySelector('#userType').value="22" })();