Autokey helper script - nitro type bot

helper script for autokey

当前为 2022-11-04 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Autokey helper script - nitro type bot
// @namespace   https://ginfio.com/giveaways
// @version      3
// @description helper script for autokey
// @match      https://www.nitrotype.com/race/*
// @match https://www.nitrotype.com/race
// @license GNU Affero General Public License v3.0
// ==/UserScript==
 
 
 
/*var mdk = 232;
ll="auto_typer.type(everything)";
r3="finish(mdk)";*/



 


function copyText(e){navigator.clipboard.writeText(e)}function checkForRaceText(){let e=setInterval(function(){document.querySelector(".dash-copy")&&(copyRaceText(),clearInterval(e))},1e3)}function reload_page(){window.location.reload()}function checkForDisqualified(){setInterval(function(){document.querySelector(".modal--raceError")&&(copyText("https://ginfio.com"),reload_page())},1e4)}function after_race(){let e=setInterval(function(){document.querySelector(".raceResults")&&(reload_page(),copyText("https://ginfio.com"),clearInterval(e))},Math.floor(1e3*Math.random()))}function copyRaceText(){setTimeout(function(){copyText("start_typing|||"+document.querySelector(".dash-copy").textContent)},1e3)}function checkForContinueButton(){setInterval(function(){btns=Array.from(document.querySelectorAll(".btn.btn--primary.btn--fw")),continue_btn=[],0<btns.length&&(continue_btn=btns.filter(function(e){return e.textContent.includes("ntinue")})),0<continue_btn.length?window.location.reload():console.log("did't find.")},1e4)}function refreshJustIncase(){setTimeout(function(){window.location.href="https://www.nitrotype.com/race"},5e4)}after_race(),checkForRaceText(),checkForDisqualified(),checkForContinueButton(),refreshJustIncase();