您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fills in the correct answer (does not auto-submit)
// ==UserScript== // @name Potato Counter // @namespace neopets // @version 0.1 // @description Fills in the correct answer (does not auto-submit) // @author You // @match http://www.neopets.com/medieval/potatocounter.phtml // @grant none // ==/UserScript== // 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. var amount = $("b:contains('How many potatoes')").parent().next().find("td:has(img)"); $("input[name='guess']").val(amount.length);