Arson 2.0 items description

Items description popup

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

Yazar
Kami Ren
Günlük kurulumlar
6
Toplam kurulumlar
6
Değerlendirmeler
0 0 0
Versiyon
3.5.3
Oluşturulma
22.04.2026
Güncellenme
22.04.2026
Boyut
8,29 KB
Lisans
MIT
Geçerli

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