Car Specification for Torn Races

Replace specified texts on the Torn Racing page

Autor
HangingLow
Instalações hoje
0
Total de instalações
87
Avaliações
0 0 0
Versão
1.10
Criado
24/09/2024
Atualizado
29/12/2024
Size
5,89 KB
Licença
GNU GPLv3
Aplicável a

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