您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically sets the withdrawal amount to the amount of NP in your till.
// ==UserScript== // @name Neopets Shop Till Max Withdrawal // @namespace https://greasyfork.org/en/users/977735-naud // @version 0.1 // @description Automatically sets the withdrawal amount to the amount of NP in your till. // @author Naud // @license MIT // @match *://www.neopets.com/market.phtml?type=till // ==/UserScript== var d = document; var input = document.querySelector("#content > table > tbody > tr > td.content > form > table > tbody > tr:nth-child(1) > td:nth-child(2) > input[type=text]"); input.value = getNp(); function getNp() { var npTxt = document.querySelector("#content > table > tbody > tr > td.content > p:nth-child(9) > b").innerHTML; var np = parseInt(npTxt.split(" ")[0].replaceAll(",", "")); return np; }