NitroTypeCheatScript

This script displays the text to type in nitrotype.com - S. S. Narr

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        NitroTypeCheatScript
// @namespace   shivnarr
// @description This script displays the text to type in nitrotype.com - S. S. Narr
// @include     http://www.nitrotype.com/race/*
// @version     1
// ==/UserScript==

window.addEventListener("load", function(e) {
	var temp1 = "";
	function crack(){
		var text = document.getElementsByClassName('text');
		var t = text[0].innerHTML;
		var i = 0;
		var tm;
		var x = 1;
		var temp = "";
		
		while(i++<t.length-1)
		{
			if(t[i] == ">")
			{
				x = 2;
			}
			else if(t[i] == "<" && x==2)
			{
				x = 1;
			}
			else if(x == 2)
			temp += t[i];
		}
		var d = document.getElementsByClassName('footerLinks');
		d[0].innerHTML = "<div style='color:white'>"+temp+"</div>";
		if(temp1.length != temp.length && temp1.length >1)
		{
			return false;
		}
		else {temp1 = temp;
			
		}
	}
	alert("Click OK when text appears below!");
	crack();	
}, false);