Arson 2.0 items description

Items description popup

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
Kami Ren
일일 설치 수
6
총 설치 수
6
평점
0 0 0
버전
3.5.3
생성일
2026-04-22
갱신일
2026-04-22
크기
8.29KB
라이선스
MIT
적용 사이트

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