Interesting idea, but for some reason, any equipped items seemed to show up twice, which is a bit odd.
[Script] Rem4rk's Locked Items Manager - v3.5.4
-
Thread created on 00:59:23 - 18/01/26 (9 months ago)|Last replied 04:41:34 - 23/03/26 (7 months ago)
[Script] Rem4rk's Locked Items Manager v3.5.4
Hi everyone,
I wanted to share a Locked Items Manager userscript I’ve created. I haven't seen anyone make one of these that allows you to fully lock down an item so it cannot be removed from the inventory, or with other quality of life features like reminding the user that items are locked, a locked items counter, or an unlock all items button. It’s designed to make it so you will never accidentally sell or trash an item accidentally ever again! This script does not break Torn rules or automation policies.
You can download the script here or you can find the link to it on my profile signature!
Features
- Lock/Unlock Buttons: Clicking on the padlock buttons from your inventory will allow you to lock/unlock any item. This stops you from being able to send, donate, trash, or sell the item, but it will not prevent you from using it.
- RW Support: The script correctly stores the unique ID of ranked weapons when locking them, so you can sell off the RW you dont want, while keeping the one's you prefer!
- Transparent locks: An unlocked item will have an unlocked padlock pre-pended to its name, and locking the item will make the symbol opaque, allowing the user to easily identify which items are locked/unlocked at a glance!
- Unlock All Button/Lock Counter/Confirmation: In the inventory there is a button to the left that when clicked will unlock ALL locked items at once, and in the brackets is a counter showing off how many items you have currently locked. When you click the unlock all button, a small confirmation popup will appear asking you if you wish to proceed.
- Lock/Unlock Toasts: When locking/unlocking an item, a small toast will appear in the top right of the screen telling you whether or not you locked the item.
- Info Toasts: If you are on a page that allows you to add to Bazaar, Item Market, Trades, Faction Donations, or sell to NPCs, you will see a Toast fly into the page reminding you that some items have been locked.
- Locked Items are Excluded from Listings: If an item is locked, it will NOT show up as an item to add to Bazaar, Item Market, Trades, Faction Donations, or selling to NPCs. In the below example, I have locked my Small First Aid Kits, and they now do not show up as an option on these pages.
- Settings Panel: You can now toggle on and off almost every visual feature of the script! Just click the gear icon on the top left to open the pop-up window! A popup panel will appear, offering customization options to users such as disabling transparent locks, toasts, and the unlock all button.
- Non-intrusive/Rule Compliant: Only affects the Inventory, Bazaar, Trade, Item Market, City Shops, Faction Armory pages and how they are displayed and does not interact with Torn gameplay or automate any actions. The script WILL NOT scrape pages you are not viewing.
How to Use
- Install a userscript manager like Tampermonkey.
- Download it here or from the link in my profile signature.
- Lock an item from inventory.
- You will never accidentally list an item again!
Safe and Torn-Rule Compliant
- This script only allows you to lock actions on an item to help you protect it from accidental trades.
- It does not automate any item actions, page refreshes, or send any actions to Torn’s servers.
- It’s purely for personal convenience.
Tips
- This script is perfect for keeping valuable/rare items safe!
- Locked items are saved to browser storage, and the script should remember what items are locked.
- If you would like to download an older version the link is here.
Hope this helps fellow Torn players make avoid any accidental item trades/trashes!
Last edited by rem4rk on 09:12:44 - 06/02/26 (8 months ago)I also sometimes make some scripts for fun!
-
-
Posted on 05:52:57 - 18/01/26 (9 months ago)Post link copied to clipboard Copy post link
Interesting idea, but for some reason, any equipped items seemed to show up twice, which is a bit odd.
-
-
Posted on 06:56:25 - 18/01/26 (9 months ago)Post link copied to clipboard Copy post link
Interesting, I haven't been able to replicate that on my side, can you give me more info about the issue? Or a screenshot?
Closest thing I could find was that if I have grenades equipped, if I try to list them, it shows the equipped item and the unequipped stack. Which is normal behaviour.I also sometimes make some scripts for fun!
-
-
Posted on 08:02:12 - 18/01/26 (9 months ago)Post link copied to clipboard Copy post link
The big red banner on the faction page is annoying, cant even see the links at the top. but great script.

-
-
Posted on 08:07:42 - 18/01/26 (9 months ago)Post link copied to clipboard Copy post link
I'll look into another option, I'm considering making it only show up for a few seconds, then fade away.
If you have another solution you think would work better, I am open to any ideas.I also sometimes make some scripts for fun!
-
-
Posted on 08:11:21 - 18/01/26 (9 months ago)Post link copied to clipboard Copy post link
Maybe on the side of the screen like under where it flashes that you locked an item

-
-
Posted on 08:28:55 - 18/01/26 (9 months ago)Post link copied to clipboard Copy post link
I've updated the script.
I've replaced the big red banner with a blue toast that flies in and then goes away after a few seconds (similar style to the other toasts).
Should hopefully fix the issue of links at the top being hidden, and it shouldn't reset any of your locked items when you update either.
Let me know how this goes.Last edited by rem4rk on 08:30:25 - 18/01/26 (9 months ago)I also sometimes make some scripts for fun!
-
-
Posted on 09:14:42 - 18/01/26 (9 months ago)Post link copied to clipboard Copy post link
So much better, I can handle that. Thanks dude. no more losing my high quality base items.

-
-
Posted on 09:15:13 - 18/01/26 (9 months ago)Post link copied to clipboard Copy post link
Love that is goes away.

-
-
Posted on 17:58:34 - 18/01/26 (9 months ago)Post link copied to clipboard Copy post link

It affects my primary, secondary, melee, and armor tabs. Might be an interaction with another script I'm using?
-
-
Posted on 23:53:12 - 18/01/26 (9 months ago)Post link copied to clipboard Copy post link




I just gave this a go, testing with both items locked and unlocked as per above screenshots and haven't been experiencing the issue. I think it might be a script conflict of some kind?I also sometimes make some scripts for fun!
-
-
Posted on 05:10:39 - 19/01/26 (9 months ago)Post link copied to clipboard Copy post link
Yup, it conflicts with this script: https://greasyfork.org/en/scripts/506679-inventory-sorter
An inventory sorter script.
-
-
Posted on 20:09:21 - 19/01/26 (9 months ago)Post link copied to clipboard Copy post link
My guess is it has something to do with how items are loaded on the page causing the conflict?
I also sometimes make some scripts for fun!
-
-
Posted on 21:18:27 - 19/01/26 (9 months ago)Post link copied to clipboard Copy post link
This script is awesome, and something I've been looking for. So thank you!
My only complaint is the blue unlock all button is a bit of a nuisance. Maybe if it were smaller, transparent, or both. I've only tested on PDA.
Last edited by _samara_ on 21:18:55 - 19/01/26 (9 months ago)
-
-
Posted on 21:35:08 - 19/01/26 (9 months ago)Post link copied to clipboard Copy post link
Thank you! Means alot that you love using it.
I mostly make these scripts on PC, so I never really get time to test on PDA.
I've never figured out how people resize stuff based on whether or not they are on mobile or PC, but if I manage to figure it out, I will try to update the script to make it a better experience on PDA.
EDIT: Just to confirm, you are talking about the unlock all button that is on the inventory page, correct?Last edited by rem4rk on 21:40:05 - 19/01/26 (9 months ago)I also sometimes make some scripts for fun!
-
-
Posted on 22:53:12 - 19/01/26 (9 months ago)Post link copied to clipboard Copy post link
Yes, the one on the inventory page. Maybe not resize, but make the blue button transparent. It really is an awesome script, I'm interested in seeing what other scripts you have made.

-
-
Posted on 02:47:05 - 20/01/26 (9 months ago)Post link copied to clipboard Copy post link
Done✅
I've made it so the button starts off being semi-transparent, upon a mouseover/click, the button should regain full opacity. If the mouse moves away, the button will revert to the original semi-transparent opacity.
You should be able to grab the update here.
Lemme know how this goes for you, or if you need something changed.I also sometimes make some scripts for fun!
-
-
Posted on 14:52:31 - 20/01/26 (9 months ago)Post link copied to clipboard Copy post link
Oh bro you Fu Qing rock! Gift en route!

-
-
-
-
Posted on 17:59:10 - 20/01/26 (9 months ago)Post link copied to clipboard Copy post link
Yes it does! A locked item is unable to be sold on item market/bazaar or in NPC shops, cannot be added to Faction Armoury, cannot be sent, sold, or even trashed.
You will only be able to use the item itself or equip it if you have locked it.I also sometimes make some scripts for fun!
-










