MoDuL's

Race Theme Changer

A lightweight, PDA-safe userscript that enhances Torn’s racing page by visually syncing the track, banner, and race details with the selected race class theme — clean, stable, and performance-friendly.

Description

A lightweight, PDA-safe userscript that enhances Torn’s racing page by visually syncing the track, banner, and race details with the selected race class theme — clean, stable, and performance-friendly.

What this script does

🎨 Theme-aware racing UI

Automatically applies the selected Class (A–E) theme to the racing banner, the Theme button, and the race details bar.

🧾 Race details bar (permanent position)

The race details — Name, Position, Lap, Last Lap, and Completion — are always displayed directly under the track canvas, with no overlays, no side layouts, and no wrapping issues.

✏️ Minimal Theme popup

One simple selector: Class. Clean, distraction-free UI.

📱 PDA & mobile friendly

No hover dependencies, touch-safe controls, and clean scaling on smaller viewports.

Preview

Interface Screenshots

Preview the class themes, track styling, and permanent race details bar.

Release history

Changelog

The current public Greasy Fork release is v1.2.6, updated on April 20, 2026.

v1.2.6 - April 20, 2026
  • Current public Greasy Fork release.
  • Latest live build of the PDA-safe race-class theme switcher.
  • Keeps the theme button flow, class selector, and race details styling in the active public release line.
v1.2.3
  • Added support for stats-page images so they follow the selected class theme too.
  • Finalized the race details bar placement permanently under the track.
  • Improved padding and height to match the track canvas margins.
  • Fixed text clipping and alignment issues on PDA and mobile.
  • Strengthened guards so the script runs only once.
v1.2.2
  • Fixed a TornPDA issue with the race details bar by reducing font size on small devices.
v1.2.1
  • Moved the race details bar permanently under the track.
  • Removed overlay mode and the left and right positioning options.
  • Removed the position selector from the popup.
  • Improved readability, spacing, and protection against double execution.
  • Cleaned up DOM handling when the race updates or the track reloads.
v1.2.0
  • Added theme-aware race details styling.
  • Introduced class-based theme selector.
  • Added Theme button popup.
  • First stable PDA-compatible release.