您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically fills shop till withdraw amount for you
// ==UserScript== // @name Neopets - Karla's Auto Fill Shop Till // @namespace karla@neopointskarla // @license GPL3 // @version 0.0.1 // @description Automatically fills shop till withdraw amount for you // @author Karla // @match *://*.neopets.com/market.phtml?type=till* // @icon https://github.com/karlaneo/neopets-scripts/blob/main/favicon-32x32.png?raw=true // @grant none // ==/UserScript== (function() { 'use strict'; // Your code here... const npInTill = document.querySelector('p b').textContent.replace(/,/g, '').replace(' NP', ''); document.querySelector('[name="amount"]').value = npInTill; })();