Arson 2.0 items description

Items description popup

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

Maker
Kami Ren
Dagelijks aantal installaties
6
Totaal aantal installaties
6
Beoordelingen
0 0 0
Versie
3.5.3
Gemaakt op
22-04-2026
Bijgewerkt op
22-04-2026
Grootte
8,29 KB
Licentie
MIT
Wordt toegepast op

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