Skip to content

Instantly share code, notes, and snippets.

@diceroll123
Last active February 18, 2023 03:46
Show Gist options
  • Save diceroll123/83cb0fc93703a998c421 to your computer and use it in GitHub Desktop.
Save diceroll123/83cb0fc93703a998c421 to your computer and use it in GitHub Desktop.
Makes withdrawing 100% faster!
// ==UserScript==
// @author diceroll123
// @name Neopets - Quick-Till
// @description Sets withdraw value to amount in till.
// @include *://*.neopets.com/market.phtml?type=till
// ==/UserScript==
var np = document.body.innerHTML.match(/You currently have <b>([0-9,\,]*) NP<\/b> in your till./)[1];
np = np.replace(/,/g, '');
if(np == 0) return;
$('[name="amount"]').val(np);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment