SayAi

空投

目前為 2024-09-06 提交的版本,檢視 最新版本

// ==UserScript==
// @name         SayAi
// @namespace    http://tampermonkey.net/
// @version      5.3
// @description  空投
// @author       酥哈哈
// @match        *://*.starrynift.art/*
// @match        https://www.baidu.com/
// @license MIT
// @icon         https://www.google.com/s2/favicons?sz=64&domain=blockx.fun
// @grant        none
// @match        https://miles.plumenetwork.xyz/nest-staking
// @match        https://miles.plumenetwork.xyz/plume-arc
// @match        https://app.solidviolet.com/tokens/1
// @match        https://adamdefi.io/swap
// @match        https://testnet.kappalending.com/#/market
// @match        *://*.blockx.fun/*
// @match        *://*.sidequest.rcade.game/*
// @match        *://*.forge.gg/*
// @match        *://*.space3.gg/*
// @match        *://*.adamdefi.io/*
// @match        *://*.testnet.kappalending.com/*
// @match        *://*.testnet.zulunetwork.io/*
// @match        https://testnet.zulunetwork.io/lwazi?code=6S4TVJ
// @match        *://*.testnet.grofidex.io/*
// @match        *://*.u2quest.io/*
// @match        *://*.faucet.uniultra.xyz/*
// @match        *://*.testnet.blockfun.io/*
// @match        *://*.miles.plumenetwork.xyz/*
// @match        *://*.plume.ambient.finance/*
// @match        *://*.faucet.plumenetwork.xyz/*
// @match        *://*.miles.plumenetwork.xyz/*
// @match        *://*.theiachat.chainbase.com/*
// @match        *://*.genesis.chainbase.com/*
// @match        *://*.landshare-plume-sandbox.web.app/*
// @match        *://*.plume.kuma.bond/*
// @license MIT
// @match        *://*.app.solidviolet.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=grofidex.io
// @grant        none
// ==/UserScript==
function generateRandomNumberString(length) {
  const characters = '0123456789';
  let result = '';
  for (let i = 0; i < length; i++) {
    result += characters.charAt(Math.floor(Math.random() * characters.length));
  }
  return result;
}
function generateRandomFloat(min, max) {
  return Math.random() * (max - min) + min;
}

(function() {
    const invalidEvent = new Event('invalid', { bubbles: true, cancelable: true })
    let buy = sessionStorage.getItem('buy');
    let sell = sessionStorage.getItem('sell');
    let staking = sessionStorage.getItem('staking');
    let arcName = sessionStorage.getItem('arcName');
    let arcDes = sessionStorage.getItem('arcDes');
    let solusd = sessionStorage.getItem('solusd');
    let zuluswap = sessionStorage.getItem('zuluswap');
    var falg1 = false;
    let result = '';
    'use strict';
    setInterval(() => {
        if (window.location.href == 'https://testnet.grofidex.io/trade'){
            const buyTargetElement = document.querySelector("#swap-currency-input > div._1a5xov70._1qhetbf7._1qhetbf1d._1qhetbf4v._1qhetbf7l._1qhetbf3fm._1qhetbf23g > label > div._1a5xov70._1qhetbf1s6._1qhetbf1mc._1qhetbf1pg._1qhetbf7._1qhetbf1k._1qhetbf4v._1qhetbf3ve._1qhetbf1u4._1qhetbf2rk > input")
            if(buyTargetElement){
                const buyValue = parseFloat(buy.innerHTML);
                if (buyValue <=0) {
                    buyTargetElement.focus();
                    document.execCommand('insertText', false, '1');
                    buyTargetElement.dispatchEvent(invalidEvent);
                }
            }
        }
        if (window.location.href == 'https://miles.plumenetwork.xyz/nest-staking'){
            const stakingTargetElement = document.querySelector("#tabs-\\:r6\\:--tabpanel-0 > div > div.chakra-input__group.css-1oliy19 > div.chakra-numberinput.css-6fsd0v > input")
            if(stakingTargetElement && staking==null){
                stakingTargetElement.focus();
                falg1=true;
                document.execCommand('insertText', false, '1');
                stakingTargetElement.dispatchEvent(invalidEvent);
            }
        }
        if (window.location.href == 'https://miles.plumenetwork.xyz/earn-miles'){
            const arcNameTargetElement = document.querySelector("#plume-arc > div.css-35jc09 > div.css-lrnuet > div.css-mqdtaw > input")
            if(arcNameTargetElement && arcName==null){
                result = generateRandomNumberString(10);
                sessionStorage.setItem('arcName','5');
                arcNameTargetElement.focus();
                document.execCommand('insertText', false, result);
                arcNameTargetElement.dispatchEvent(invalidEvent);
            }
            const arcDesTargetElement = document.querySelector("#plume-arc > div.css-35jc09 > div.css-lrnuet > div.css-2rdxv6 > textarea")
            if(arcDesTargetElement && arcDes==null){
                result = generateRandomNumberString(15);
                sessionStorage.setItem('arcDes',result);
                arcDesTargetElement.focus();
                document.execCommand('insertText', false, result);
                arcDesTargetElement.dispatchEvent(invalidEvent);
            }
        }
        if (window.location.href == 'https://app.solidviolet.com/tokens/1'){
            const inputs = document.querySelectorAll('input[type="text"], input[type="number"], input[type="email"], input[type="password"]');
            inputs.forEach(input => {
                if (input.type === 'text' || input.type === 'number' || input.type === 'email' || input.type === 'password') {
                    if(input && solusd==null){
                        sessionStorage.setItem('solusd',1);
                        input.focus();
                        document.execCommand('insertText', false,generateRandomFloat(0.1, 0.5));
                        input.dispatchEvent(invalidEvent);
                    }
                }
            });
        }
        if (window.location.href == 'https://testnet.kappalending.com/#/market'){
            const popup = document.querySelector('.MuiDialogContent-root');
            if (popup) {
                const inputOne = document.querySelector("#\\:r4\\:")
                const input =document.querySelector("#\\:r5\\:")
                const inputValue = parseFloat(input.innerHTML);
                const inputOneValue = parseFloat(inputOne.innerHTML);
                if (inputValue && inputValue<=0 || inputValue==null) {
                    input.focus();
                    document.execCommand('insertText', false,generateRandomFloat(0.00001, 0.00002));
                    input.dispatchEvent(invalidEvent);
                }
                if (inputOne && inputOne.value<=0 || inputOne==null) {
                    inputOne.focus();
                    document.execCommand('insertText', false,generateRandomFloat(0.00001, 0.00002));
                    inputOne.dispatchEvent(invalidEvent);
                }
            }
        }
    },5000)
})();

QingJ © 2025

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