NitroTypeCheatScript

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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