Arson 2.0 items description

Items description popup

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
Kami Ren
Daily installs
6
Total installs
6
Ratings
0 0 0
Version
3.5.3
Created
2026-04-22
Updated
2026-04-22
Size
8.29 KB
License
MIT
Applies to

Arson 2.0 Items Description

A lightweight userscript for Torn that displays contextual item information from a reference image when hovering specific items.


Overview

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.


Features

  • 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.


How It Works

  1. The script detects when your cursor is over an item button.
  2. It reads the item name from the aria-label.
  3. If the item matches a predefined list (e.g., Gasoline, Diesel), it:
    • Opens a popup near the item
    • Displays a cropped section of a reference image
  4. The popup disappears when you move the cursor away or press ESC.

Installation

1. Install a userscript manager

You need a browser extension that supports userscripts:

  • Chrome / Edge: Tampermonkey
  • Firefox: Tampermonkey or Greasemonkey

2. Install the script

  1. Open the script page on GreasyFork
  2. Click Install this script
  3. Confirm installation in your userscript manager

3. Use it

  1. Open Torn: https://www.torn.com/
  2. Hover over supported items (e.g., Gasoline, Diesel)
  3. The descriptor popup will appear automatically

Configuration (Optional)

You can adjust behavior directly in the script:

Scaling

const SCALE_X = 0.5;  // width
const SCALE_Y = 0.75; // height