您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto selects multi-choice options for Wise King, Grumpy King, Symol Hole, Turmaculus, and Meteor. Forked from EatWoolooAsMuttonTiny's Grumpy Wise King autofill
当前为
// ==UserScript== // @name Neopets autofill // @author EatWoolooAsMuttonTiny, Tombaugh Regio // @version 1.2 // @namespace http://tampermonkey.net/ // @description Auto selects multi-choice options for Wise King, Grumpy King, Symol Hole, Turmaculus, and Meteor. Forked from EatWoolooAsMuttonTiny's Grumpy Wise King autofill // @match http://www.neopets.com/medieval/wiseking.phtml // @match http://www.neopets.com/medieval/symolhole.phtml // @match http://www.neopets.com/medieval/grumpyking.phtml // @match http://www.neopets.com/medieval/turmaculus.phtml // @match http://www.neopets.com/moon/meteor.phtml* // @grant none // ==/UserScript== //Wise King and Symol Hole const $form = $("form"); $form.find("select").each(function (index, element) { const numOptions = $(element).find("option").length; const random = Math.floor(Math.random() * (numOptions - 1)) + 1; $(element).find("option").eq(random).prop("selected", true); }); //Grumpy King if (document.URL.includes("grumpyking")) { //["What", "do", "you do if", "*Leave blank*", "fierce", "Peophins", "*Leave blank*", "has eaten too much", "*Leave blank*", "tin of olives"]; const avOptions = [3, 8, 6, 1, 39, 118, 1, 32, 1, 143]; for (let i = 0; i < 10; i++) { $(`#qp${i + 1} option`).eq(avOptions[i]).prop("selected", true); } } //Turmaculus if (document.URL.includes("turmaculus")){ const $select = $("select[name='wakeup']"); $select.each(function (index, element) { const numOptions = $(element).find("option").length; const random = Math.floor(Math.random() * (numOptions - 1)) + 1; $(element).find("option").eq(random).prop("selected", true); }); } //Meteor if(document.URL.includes("meteor")){ const $form = $("form"); $form.find("select").each(function (index, element) { const numOptions = $(element).find("option").length; $(element).find("option").eq(1).prop("selected", true); }); }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址