Where is my cars?

You lost all your cars. show it to your friend

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Where is my cars?
// @namespace    https://www.youtube.com/@GaSk-nitype
// @version      2.5
// @description  You lost all your cars. show it to your friend
// @author       GaSk
// @match        https://www.nitromath.com/garage
// @match        https://www.nitrotype.com/garage
// @license MIT
// ==/UserScript==




/*88+pro.get_post(local_)
      GET.CAR.id(175);
    game = Nitro Type;
  game.give(GaSk NT, NT Gold);
amount = garageFull; */





















var carId = 175;
var cr = "https://www.nitrotype.com/cars/"+carId+"_large_1.png";
window.onload = function(){
	var t = document.querySelectorAll(".is-empty");
	var pC = document.querySelector(".profile-car");
			t.forEach(function(tt){
				tt.className = "garage-spot";
			})
			
	var nw = document.querySelectorAll(".garage-spot");
	nw.forEach(function(gs){
		gs.addEventListener("click", function(){
			pC.src = cr;
			setTimeout(function(){
				pC.src = cr;
				pC.setAttribute("class", "profile-car is-exiting");
			}, 200);
		setTimeout(function(){
			pC.setAttribute("class", "profile-car is-entering");
			pC.src = "https://www.nitrotype.com/cars/97_large_1.png";
			document.querySelectorAll(".mtm")[0].innerHTML = "Wampus"
		}, 300)
		
			})
	})
	var x = document.querySelectorAll(".garage-vehichleImage");
	x.forEach(function(y){
		y.style.backgroundImage = "url(https://www.nitrotype.com/cars/175_small_1.png)";
		y.setAttribute("data-tip", "NT Gold");
		
	})
	
}