Neopets: Grarrl Keno Helper

Adds a button to Grarrl Keno that allows you to play with 10 random eggs with one click instead of five clicks plus typing. Change const bet to your bet amount.

当前为 2025-09-02 提交的版本,查看 最新版本

// ==UserScript==
// @name         Neopets: Grarrl Keno Helper
// @namespace    http://tampermonkey.net/
// @version      2025-09-02
// @description  Adds a button to Grarrl Keno that allows you to play with 10 random eggs with one click instead of five clicks plus typing. Change const bet to your bet amount.
// @author       saahphire
// @match        https://www.neopets.com/prehistoric/keno.phtml
// @icon         https://www.google.com/s2/favicons?sz=64&domain=neopets.com
// @grant        none
// @license      The Unlicense
// ==/UserScript==

const bet = 1;

(function() {
    'use strict';
    document.querySelector("form[name='keno'] center").insertAdjacentHTML("beforeEnd", `
    <br>
    <button class="just-play" style="padding:1em;margin:1em;">Just Play</button>
    `);
    document.querySelector(".just-play").onclick = (e) => {
        document.querySelector("input[name='bet']").value = bet;
        random_eggs(10);
        e.target.parentElement.parentElement.submit();
    }
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址