-
-
Save diceroll123/c6751fcacf3ccf3b1b64280edf4dd38e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Neopets - Bank Improvements | |
// @match *://*.neopets.com/bank.phtml | |
// @author diceroll123 | |
// @version 1.0.0 | |
// ==/UserScript== | |
var onhand = $("#npanchor").text().replace(/,/g, ""); | |
var inbank = $("#txtCurrentBalance").text().replace(/,/g, "").replace(/ NP/g, ""); | |
$("[name='amount']:first").val(onhand); // deposit all | |
$("[name='amount']:eq(2)").val(onhand); // deposit all | |
$("[name='amount']:eq(1)").val(inbank); // withdraw all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment