Torn Faction Lookup API Caller

Fetches faction data using the Torn API when on a faction profile page.

Autor
vaelinn
Instalaciones diarias
0
Instalaciones totales
0
Calificaciones
0 0 0
Versión
0.1
Creado
23/4/2025
Actualizado
23/4/2025
Tamaño
12,4 KB
Licencia
MIT
Funciona en

## Prerequisites
Requires torn tools be installed. Only tested in chrome, not tested on mobile.

## Limitations/known issues
The attack button ocassionally will disappear for some users while looking at the page, it will repair itself when this happens and you can update the REFRESH_FREQUENCY_IN_SECONDS value to a smaller number to further mitigate this (or set it low enough and it will not happen).

This script makes it easier during ranked wars to see when opposing faction members are flying towards you, abroad at your location or generally attackable.

This script adds a colored attack button(always clickable) to each users icon list when viewing a faction. The colors represent:
Red: The user is at your location and not in the hospital, you can attack immediately.
Orange: The user is flying to your location.
Blue: The user is in the hospital at your location.
Grey: The user is flying away from your location or is abroad and not at your location.

These buttons are always clickable and will take you to the attack page.