Torn Loadout Switcher

Adds customisable quick loadout change buttons on Items page.

هذه إصدارات لهذا البرنامج النصي حيث تم تحديث الكود. عرض كل الإصدارات.

  • v0.6.10 26-05-2026

    Merge branch 'main' of https://github.com/SOLiNARY/torn-scripts

    Refresh loadout titles passively from Torn's equipped-items polls

    Wrap fetch/XHR to consume Torn's existing periodic equipped-items responses instead of issuing our own request on load. Cached titles still render instantly; renames now propagate on the next poll. Falls back to one manual fetch after 15s if no response was caught (e.g. fully isolated userscript managers).

    Co-Authored-By: Claude Opus 4.7 (1M context) [email protected]

  • v0.6.9 18-05-2026

    Update loadout-switcher.user.js

  • v0.6.8 15-05-2026

    Normalize formatting and whitespace across loadout-switcher.user.js, enhance readability, and improve code consistency.

  • v0.6.8 15-05-2026

    Update loadout-switcher.user.js

    populate loadout titles on TornPDA where customFetch installs too late to intercept getEquippedItems: cache titles in localStorage, manually fetch them when rfcv is available, fall back to loadout number until titles arrive, bump to 0.6.8

  • v0.6.7 15-05-2026

    Update loadout-switcher.user.js

    relax title class regex so TornPDA's mobile hash format (digits / different length) matches, bump to 0.6.7

  • v0.6.6 15-05-2026

    Update loadout-switcher.user.js

    re-attach buttons after React re-renders the title element: drop one-shot panelAdded flag, keep polling idempotently, bump to 0.6.6

  • v0.6.5 15-05-2026

    Update loadout-switcher.user.js

    replace MutationObserver with polling — observer misses SSR-rendered title, bump to 0.6.5

  • v0.6.4 15-05-2026

    Update loadout-switcher.user.js

    fix observer: query for title element instead of relying on mutation target, bump to 0.6.4

  • v0.6.3 15-05-2026

    Update loadout-switcher.user.js

    future-proof title class via classList regex, bump to 0.6.3

  • v0.6.1 15-05-2026

    Update loadout-switcher.user.js

    reverted bump as fix doesnt work

  • v0.6.2 15-05-2026

    Update loadout-switcher.user.js

    bump version

  • v0.6.1 15-05-2026

    Update loadout-switcher.user.js

    future proof class changes for title

  • v0.6.1 25-04-2026 Imported from URL
  • v0.6.1 09-10-2024

    Updated small screens to have horizontal scroll if all the loadouts do not fit.

  • v0.6 01-05-2024

    Added option to show loadout titles instead of their number

  • v0.5 01-10-2023

    Now works on TornPDA!

  • v0.4 12-09-2023

    Added tooltip with loadout name on button mouse hover.

  • v0.3 12-09-2023

    Reworked script to work on Items page.

  • v0.1 10-09-2023