Nitro Type "invite all friends" button.

When you want to invite friends to a race on nitro type, you have to click on each checkmark to invite all of them. But with this script, it'll check all the checkmarks for you. So the only thing you have to do is click on the "Invite friends(x)" button.

当前为 2020-07-08 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Nitro Type "invite all friends" button.
// @namespace   https://youtu.be/jHMrsPJm8xM
// @version      1
// @description When you want to invite friends to a race on nitro type, you have to click on each checkmark to invite all of them. But with this script, it'll check all the checkmarks for you. So the only thing you have to do is click on the "Invite friends(x)" button.
// @match        https://www.typing.com/*
// @match        https://10fastfingers.com/*
// @match      https://www.nitrotype.com/race
// ==/UserScript==

// number.chicks = 8;
// number.people = 32;
// number.games = 3;
// number.players = 734;
// number.questions = 23;
// number.sleeve = 9;
// number.cables = 84;
/* var c = 8 * 3 = 8;
    while(c > t){
        t+= 3;
        t--;
        set.function(){
            while.settled(cover.synt){
                cover.synt;
                cover.checkbox;
                cover.butotn;
                cover.invite;
            }
        }
    }
x.transform();
for (x of elm){
    x.kick.checkbox(){
        init()
    }
}
*/


window.onload = function(){
var ym = setInterval(function(){
	if(document.querySelectorAll(".racev3Pre-action")[0]){
		clearInterval(ym);
		console.log("loaded.");
		doThings()
		}
	})
	function doThings(){
	c = document.querySelectorAll(".racev3Pre-action")[0];
	c.onclick = function(){
		var a73Xx7lcd = setInterval(function(){
			if(document.querySelectorAll('.input-label').length > 0){
				clearInterval(a73Xx7lcd)
		checkbox = checkbox = document.querySelectorAll('.input-label');
		checkbox.forEach(function(x){
				console.log("wow")	
				x.click();
				}) // forEach
			}
		}, 10);
				
		 // interval
	};

}

};