Torn userscript · Tampermonkey · Torn PDA

Crime Advisor

Every option on Torn's Crimes pages, graded against your own average $/nerve. Worked out from your own crime logs, in your browser.

v2.4.1Read-onlyYour data stays in your browser

Finding it useful? Like the thread on Torn's forumsA like or a comment keeps it in view for other players ↗

What you'll see

A grade on every option
Sally's Sweet ShopS$9.6k/n ★SHOPLIFT
Super StoreA$7.1k/nSHOPLIFT
Bits 'n' BobsB$1.8k/nSHOPLIFT
TC ClothingC$761/nSHOPLIFT
S
Best on the page, at or above your average
A
At or above your average across all crimes
B
Half your average or more
C
Under half your average
✕
Loses money
?
Too few tries to judge yet
★
Torn shows a one-time unique waiting there now

Tap a chip for its card: what a try pays, the odds as one bar, the top items. After a crime, its result shows what it was worth.

The panel (bottom-left button)
Crime Advisoryour avg $3.2k/n📊⚙
Best here · tap to find ⌖
Sally's Sweet Shop$9.6k/n
Better elsewhere
Earn · your cash crimes
Disposal$13k
Arson$8.2k
Level up · skill to 100
Forgery63
Hustling51
Uniques · left to find
Shoplifting★5 left
77,742 logs · since Aug 2024 · ✓ up to dateSettings
On the Crimes hub
Shoplifting ★ 5 leftGraffiti ★ 10 leftBurglary ★ 3 left

Example numbers. Yours come from your own logs.

The numbers are net. Materials you used (fuels, candles, email lists) are subtracted, and item rewards are counted, both at today's market price. One-time uniques and holiday drops are left out of $/nerve, because they don't pay again.

What's new in 2.x

GradesEach option gets S, A, B or C against your average across all crimes, plus one number. 1.x compared each option with that crime only.
Best crimesThe panel lists the best options on this page (tap one to find it), what's worth waiting for (a Cyclist, a scouting target), and better crimes elsewhere.
Your crimes, stackedEarn for your cash crimes, Level up for skill under 100, Uniques for those left to find, and Done for the rest.
More crimesShoplifting, Pickpocketing and Burglary by property type, with the cost of scouting counted. Bootlegging tells you which genre to copy next. Card Skimming and Hustling show their skill plans.
Item pricesItems you get are counted at today's market price. That needs a new key (step 3): a 1.x key reads logs only, so items counted as $0.
UniquesEach crime's page and the hub show how many uniques are left to find.
Torn PDA (2.1)Works in the Torn PDA app. On a phone each chip is just its grade, and a small box beside Torn's chat bar shows the one thing to do now.
Community numbers (2.2)Opt in to see what players at your skill earn per option. Off by default; see how it works.
Options you haven't tried (2.2.20)Get a starting estimate from Emforus's Crime Profitability Index (marked ~), so they can be graded and show up in Best crimes. Your own tries take over as they add up. A newly unlocked option is marked Just unlocked.
Arson recipe check (2.4)Each arson card's More shows how your jobs went against the community recipe: followed, more or less fuel, fewer stokes, or dampened, and how many failed. A warning shows when the recipe keeps failing for you or another way pays more. The Ledger's "optional" stokes now say don't skip it (skipping one failed about 1 in 5), and a low damage target gets a slow fuel like Diesel.
Disposal and Arson (2.2.27)Disposal rings the method with the best expected $/nerve: the Crime Profitability Index's figure until your own record takes over. A ★ marks where the job's one-time unique is. Arson recipes are numbered steps, fitted to the job and to your skill (the Flamethrower only from 80).
Forgery levelling (2.2.26)Below skill 100, Forgery projects are graded for levelling: the fewest critical fails per step, a grade lower if one loses tools. Projects you haven't unlocked show their level instead of a grade.
Uniques to find (2.3)Tap a crime's gold ★ count for the uniques you haven't found yet and what each needs (cameras off, a key item, a skill level). A place's card lists its own. From the Torn wiki and Emforus's guides, checked against your logs.
Stats and Settings (2.3)Two icons at the top of the panel: Stats (your crime income per day, the last 30 days as bars, and your skills' progress) and Settings (the key, the skill badge: always, until skill 100, or off, and the opt-ins).
Update notices (2.2.14)Opt in to an "Update ready" note in the panel.
LighterHistory loads about twice as fast and backs off when Torn says too many requests. Slower computers refresh the numbers less often while it loads. Only one tab loads at a time, and a reload no longer interrupts it.

Upgrading from 1.x? Make the new key in step 3 and paste it in Settings ⚙ › Key › Change. Your logs are then read once more in the background while Torn is open.

Install

  1. Get Tampermonkey

    Install the Tampermonkey extension for Chrome, Edge or Firefox from tampermonkey.net. In Chrome and Edge, also turn on Allow user scripts (or Developer mode) for the extension when it asks.

  2. Add the script

    Install Crime Advisor

    Tampermonkey opens its install page: press Install. Installed this way it keeps itself up to date.

    If the button only shows the code, copy it from the box below instead: in Tampermonkey choose Create a new script, select everything in the editor, paste over it, and save with Ctrl+S.

    crime-advisor.user.js · 3355 lines
  3. Make a key: logs + item prices

    Make a key on Torn ↗

    This opens Torn's key form already filled in: a Custom key called "Crime Advisor" that can read your logs and Torn's item prices, nothing else. Create it and copy the key. The same link is in the panel.

  4. Paste it into the panel

    On any Crimes page, click Crime Advisor in the bottom-left, paste the key and press Save. It checks the key straight away.

  5. Let it read your history

    Your newest logs load first, so grades appear within seconds. Older logs then load in the background: about 10,000 logs in 3 minutes, using up to 40 of Torn's 100 calls a minute. If Torn says too many requests, it slows right down for 10 minutes. The panel shows how far it has got, and it carries on next time you open Torn.

On Torn PDA: in PDA's userscript settings, add a script by remote URL: https://tornbrain.com/crime-advisor.user.js, press Fetch, then Load. PDA warns that the script uses an API key: press Load again to use PDA's own key, or Set API Key to give it your Crime Advisor key. Either way there's nothing to paste.

Community numbers (opt-in)

Off unless you turn it on in Settings ⚙. Then each card can show what players at your skill earn there.

What's sharedPer crime option: your tries (rounded down), success rate, $/nerve and skill band. Per arson job: how many of your jobs followed the community recipe, ran another way, or failed (counts only). No logs, no times. Once your whole history has loaded, at most daily.
Your keySent once to api.tornbrain.com, which asks Torn whose it is, keeps a scrambled id so you count once, and drops the key.
What you seeA number only when 5 or more players are behind it.
LeavingUntick it: everything about you there is deleted.

Without a key

Arson still works. Each job gets the community's payout range and recipe (what to place, what to light it with, when to stoke) and its requirements. Recipes fit each job: a job that needs an accidental fire gets a Lighter.

Your key and your data

Data storageOnly in your browser. Crime logs go into the browser's own storage (IndexedDB), so they aren't downloaded twice. Tampermonkey (or Torn PDA) keeps your settings and key.
Data sharingNone, unless you turn on Community numbers (off by default): then coarse per-option summaries, and per arson job how often the recipe worked, go to api.tornbrain.com.
Purpose of usePersonal: your own $/nerve per crime.
Key storage & sharingStored in Tampermonkey on this browser (in Torn PDA: on your phone). Sent to api.torn.com; if you join Community numbers, once to api.tornbrain.com, which doesn't keep it.
Key access levelCustom: log, plus items from the Torn section for market prices.
Update noticesOff unless you turn them on in Settings ⚙. Then every 6 hours (and once after an update) it asks api.tornbrain.com for the latest version number. Nothing about you is sent; the server keeps only how many checks came in each day.
Other downloadsPublic arson recipes from balaclava.app (the Arsonist's Ledger), once a day. No key is sent with it.

It's read-only. It never clicks, commits a crime or does anything in Torn for you. Each browser keeps its own copy, so a second computer downloads your history again.

Updating

It updates itself: Tampermonkey checks this site for a new version about once a day (or straight away with Check for userscript updates in its menu). Your key and the logs you've already downloaded are kept.

Pasted it in by hand before this page existed? Press Install Crime Advisor above once: Tampermonkey offers it as an update to your existing copy, keeping your key and logs, and it updates itself from then on.

On Torn PDA, turn on Tell me when there's an update in Settings ⚙: when one is out, its Install link loads the new version over your copy. If you add it by its URL again instead, delete the old copy so only one runs.

If something's off

"This key can't read item prices"
It's a 1.x key that reads logs only. Make a key with step 3's link and paste it in Settings ⚙ › Key › Change.
"That key doesn't work"
The key was mistyped, or deleted on Torn. A key is 16 letters and numbers.
"too many requests"
Other tools used up Torn's 100 calls a minute. It waits, then carries on by itself.
No grades on a crime page
Grades appear for things you've done before (and community arson jobs). If the panel's log count is still climbing, give it a few minutes. Check that Tampermonkey shows the script enabled on torn.com.
"loading in another tab"
Only one Torn tab loads your history at a time. The others pick up its progress.
"logs are re-read each visit"
The browser is blocking storage, usually because it's a private window. It still works, but only on your most recent ~2,000 logs.
A number looks wrong
Prices are today's market values, so old materials and rewards are re-priced. Crimes that pay on a later step than the nerve (Card Skimming, for one) are valued as a whole crime. Hover a row in the panel for all time, 30 days and nerve.
Start over
Panel › Settings ⚙ › Key › Change › Remove key and stored logs. Deleting the key on Torn stops it working everywhere.
Reporting a bug
Panel › Settings ⚙ › About this browser › Copy for a bug report, then send it to AJTheSecond [3395781] with what you saw. Nothing personal is in it.
Earlier versions