Items description popup
A lightweight userscript for Torn that displays contextual item information from a reference image when hovering specific items.
Arsons Item Descriptor enhances the Torn UI by showing a visual descriptor panel when hovering certain items (e.g., Gasoline, Diesel).
Instead of parsing in-game data, it uses a single reference image and dynamically crops the relevant section based on the hovered item.
This keeps the script simple, fast, and independent of Torn’s internal structure.
Hover-based activation
Displays a popup when hovering supported items.
Image-based descriptors
Uses one image and crops the relevant section dynamically.
Custom scaling
Separate horizontal and vertical scaling for better layout control.
Accurate positioning
Popup appears next to the hovered item and avoids screen overflow.
Minimal overhead
No API calls or heavy DOM parsing.
Keyboard control
Press ESC to close the popup instantly.
aria-label.ESC.You need a browser extension that supports userscripts:
You can adjust behavior directly in the script:
const SCALE_X = 0.5; // width
const SCALE_Y = 0.75; // height