Car Specification for Torn Races

Replace specified texts on the Torn Racing page

Forfatter
HangingLow
Daglige installasjoner
1
Totale installasjoner
68
Vurderinger
0 0 0
Versjon
1.10
Lagd
24.09.2024
Oppdatert
29.12.2024
Size
5,9 kB
Lisens
GNU GPLv3
Gjelder

This scripts adds properties required from a car to track names as recommended by https://www.torn.com/forums.php#/p=threads&f=61&t=16126414&b=0&a=0

1.1 - Fixed Docks not translating
1.2 - Added listener, so no need to refresh pages
1.3 - Added toggle to switch between new and old car names (you have to change the property to useNewCarNames = true or useNewCarNames = false)
1.4 - Added dash to separate the car suggestion and track name
1.5 - Limited the text replacement only to a specific divs, to not override the text everywhere
1.7 - Re added dashes again because of some mishap
1.8 - Added wildcard to match URL
1.9 - Added matching when entering Official race
1.10 - Fixed matching of multiple classes