NitroTypeCheatScript

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

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

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.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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);