YATA Target Call Copier
A lightweight quality-of-life userscript that enhances the
YATA → Target list page (https://yata.yt/target/
).
It adds a non-sortable Call column with a one-click copy button,
stabilizes sorting by the Notes column, and integrates a
Template picker into the page header so you can control exactly
how callouts are formatted.
Key Features
- Call column — Inserts a “Call” button between Result and Name for every target row.
- One-click copy — Copies a clean, formatted callout message to your clipboard. Optional time and ID on demand.
- Smart hospital ETA — When a target is hospitalized, the script detects remaining time and can append it to your message (on a new line).
- Template picker in header — A small “Template:” dropdown placed beside the “Refresh all” button lets you switch formats instantly. The selection is remembered across visits.
- Stable Notes sorting — Sorting by the Notes column uses the actual note input value, avoiding random or inconsistent ordering.
- Resilient to live updates — New rows and refreshed rows automatically get the Call button and Notes-sort fix without reloading the page.
- Native look & feel — UI matches the YATA header styling (fonts, sizing, colors).
- No external dependencies — Pure, fast, and safe. Uses standard Web APIs; requires no special permissions.
Where It Works
How to Use
- Install this userscript via your preferred manager (e.g., Tampermonkey, Violentmonkey, Greasemonkey).
- Open the YATA Target list page:
https://yata.yt/target/
. - Use the new Template dropdown in the page header (left of “Refresh all”) to choose your message style.
- Click the Call button in any row to copy a callout. Paste it into chat or wherever you need.
Templates & Shortcuts
Available templates
Click behavior
For the default and emoji templates:
Action | Effect |
---|
Left-click | Copy without time. (Example: Calling: ExampleName ) |
Shift + Left-click | Add time on a new line. (Example: Hitting in 12m 30s or ⏲️ 12m 30s ) |
Alt + Left-click | Include the player ID in [brackets] after the name. (Example: ExampleName [123456] ) |
Ctrl + Left-click | Uppercase the entire message. |
Middle-click | Quick copy: CALL: {name} (no ID, no time). |
For the ascii template:
- Always includes both name and [id], plus time (or
Ready
), in the 3-line ASCII box. - Ignores all modifiers (Shift/Alt/Ctrl/Middle).
Examples
default
Calling: ExampleName
Hitting in 4m 10s
emoji
🎯 Calling: ExampleName [123456]
⏲️ 4m 10s
ascii
╭═══ 🎯 CALLING ════╮
ExampleName [123456]
╰═════ 4m 10s ═══════╯
Notes Column: Stable Sorting
The script keeps a hidden sort key in each Notes cell that mirrors the current
note input value. This prevents the “random” or sticky ordering you may see
when sorting by Notes on a dynamic table. Edits to a note trigger a subtle
table update so the sort order reflects your latest text.
Visual Hints
- The Call button’s background subtly changes with the target’s status:
- Green-ish when Okay
- Red-ish when Hospitalized
- Neutral otherwise
- Hover tooltip shows a quick status/ETA hint (e.g., “Out at: 9:56 PM (8/11/2025)”).
Settings & Persistence
- Your chosen template is saved in
localStorage
under the key yata-template
. - No external requests, no tracking, and no additional permissions are used.
Troubleshooting
- Missing Call column? Reload the page after installing. Ensure you are on
https://yata.yt/target/
. - Clipboard blocked? Some browsers require user interaction. If copy fails, the script offers a prompt to copy manually.
- Sorting oddities? Click the column again to re-sort. The Notes sort key updates when you type or change the note.
- Conflicting styles? If you use custom site CSS, ensure it doesn’t hide the inserted header block or table cell.
Changelog (highlights)
- v1.6.26 — Linebreak added to ascii template
- v1.6.25 — Updated the download/update URLS
- v1.6.25 — Renamed Template to Call Style
- v1.6.24 — ASCII template always includes
[id]
; refined header integration; stable Notes sorting; ETA on new line; improved copy hints. - Earlier versions — Introduced header template picker, minimized interference with native sorting, and robust row refresh handling.
Credits
Built specifically for YATA users who want faster, cleaner callouts and a stable workflow.