Skip to content

Instantly share code, notes, and snippets.

View Toonidy's full-sized avatar

Toonidy Toonidy

View GitHub Profile
@Toonidy
Toonidy / nt_admin_panel.user.js.txt
Last active June 12, 2023 19:38
This allows the user to pretend to use any car and trail on the racetrack. This is done from the customizer page via the "Admin" tab.
// ==UserScript==
// @name Nitro Type - Admin Panel
// @version 0.1.0
// @description Always displays the selected car, hue and trail on the race track.
// @author Toonidy
// @match *://*.nitrotype.com/race
// @match *://*.nitrotype.com/race/*
// @match *://*.nitrotype.com/garage/customizer
// @match *://*.nitrotype.com/garage/customizer/*
// @icon https://i.ibb.co/YRs06pc/toonidy-userscript.png
@Toonidy
Toonidy / nt-unlimited-garage-space.md
Last active September 17, 2024 09:24
Nitro Type/Math Unlimited Garage Space by Ray-Adams

Copy and paste the code below into the URL section of a new bookmark.

javascript:(async(a,b='',c,d=JSON.parse(JSON.parse(localStorage['persist:nt']).user).garage)=>{if(!a)return;for(c=0;c<a*30;c++)b+=`garage%5B${c}%5D=${d[c]||''}&`;await fetch('api/v2/loot/arrange-cars',{'headers':{'Authorization':'Bearer '+localStorage.player_token,'Content-Type':'application/x-www-form-urlencoded'},'body':b,'method':'POST','mode':'cors'});alert`Logging you out... Please log back in to see changes.`;document.querySelector('a.dropdown-link[href="/"]').click()})(prompt`Number of garage sections (~30 max):`)

Demostration by Nate Dogg: https://youtu.be/20Q3JKX_3Hk?t=237

Credits to Ray-Adams for making this originally.