Greasy Fork is available in English.

Potato Counter

Fills in the correct answer (does not auto-submit)

  1. // ==UserScript==
  2. // @name Potato Counter
  3. // @namespace neopets
  4. // @version 0.1
  5. // @description Fills in the correct answer (does not auto-submit)
  6. // @author You
  7. // @match http://www.neopets.com/medieval/potatocounter.phtml
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. // If you encounter a long wall of potatoes (>1000 potatoes) you are strongly advised to NOT solve it. Refresh for a new potato count or simply submit a wrong answer.
  12.  
  13. var amount = $("b:contains('How many potatoes')").parent().next().find("td:has(img)");
  14. $("input[name='guess']").val(amount.length);