Skip to content
TORNLIFE More

[Userscripts] Brainslugs userscript collection

Started by Brainslug [2323221] on in Tools & Userscripts.

43 replies · 6.31k views · thread synced · 3 days ago · View on torn.com
About this thread

Posts archived: 44 / 44 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
44
Discussion span
→
Authority score
59 / 100
Historical score
45 / 100
Story score
58 / 100
Engagement score
80 / 100

People posting, likes and official posts are not counted for this thread yet: on threads longer than one page they come from a periodic pass over the archive, which has not covered it.

Most-liked replies

Mentioned in this thread

Brainslug [2323221] ×1

Brainslug [2323221]

I've been releasing some of the scripts i've made (or reworked) over the time i've been playing Torn on github.
Repository: https://github.com/br41nslug/torn-brainscripts

Over time i'll probably add more when i get them in a more "releasable" state. I've created these scripts on Chrome using Tampermonkey, they might work in other browsers/runtimes but i can't give any guarantees for that. Anyway i'm gonna keep it short on the script descriptions if they sound interesting more info and screenshots will be available on github so go check that out.
Disclaimer: Most of the scripts are for racing... go figure.
Without further ado these are the scripts currently available in my collection:

Custom Car Skins
This script allows you to inject any custom car skin based on name. This is a standalone version of the car skinning feature included in Lugburz' Racing Enhancements.
The default settings are to use the old class A car images as skins but you're free to edit the script to use any image you like!
Install Link: https://github.com/br41nslug/torn-brainscripts/raw/main/scripts/racing-car-skins.user.js
[image: github.com]


Lap Statistics
This scripts removes the left sidebar show your current car stats (i've always found that information quite useless) and adds a new panel to the right of the racing display filled with statistics for the current lap instead! More information over on GitHub.
Install Link: https://raw.githubusercontent.com/br41nslug/torn-brainscripts/main/scripts/racing-lap-statistics.user.js
[image: files.brainslug.nl]

Change Racing Banner
This script adds the option to switch between the different class banners.
Install Link: https://raw.githubusercontent.com/br41nslug/torn-brainscripts/main/scripts/racing-change-banner.user.js
[image: files.brainslug.nl]

Race Charts
This script adds a chart showing the positions held by each player over the duration of the match.
Install link: https://raw.githubusercontent.com/br41nslug/torn-brainscripts/main/scripts/racing-charts.user.js
[image: files.brainslug.nl]

Always On Top
Adds style to always pull you to the top row in a race.
Install Link: https://raw.githubusercontent.com/br41nslug/torn-brainscripts/main/scripts/racing-always-on-top.user.js
[image: files.brainslug.nl]


Custom Race Presets
Adds custom preset shortcuts when creating a new race.
Install Link: https://raw.githubusercontent.com/br41nslug/torn-brainscripts/main/scripts/custom-race-presets.user.js
[image: files.brainslug.nl]

Full Height Driver Panel
Adds style to make the driver panel full height on desktop (on mobile it already is).
Install Link: https://raw.githubusercontent.com/br41nslug/torn-brainscripts/main/scripts/racing-full-height.user.js
[image: files.brainslug.nl]

Custom Menu Links
A script that inject custom menu links with icons into the sidebar inspired by torntools.
Install Link: https://raw.githubusercontent.com/br41nslug/torn-brainscripts/main/scripts/custom-menu-links.user.js
[image: files.brainslug.nl]

Classic Button Style
A script that reverts the current button style back to the classic style.
Install Link: https://raw.githubusercontent.com/br41nslug/torn-brainscripts/main/scripts/revert-button-style.user.js
Install Link (TornPDA): https://github.com/br41nslug/torn-brainscripts/raw/main/scripts/revert-button-style.pda.user.js
[image: github.com]

Stealth Meter
A script that adds a big stealth meter in the attack title matching the small sidebar.
Install Link: https://raw.githubusercontent.com/br41nslug/torn-brainscripts/main/scripts/attack-stealth.user.js
[image: github.com]

HP Meter
A script that adds a big HP meter in the attack title for both attacker and defender.
Install Link: https://raw.githubusercontent.com/br41nslug/torn-brainscripts/main/scripts/attack-hp.user.js
[image: github.com]

Updates

  • Added HP meter script (13/09/2024)
  • Added custom skins script (09/12/2023)
  • Added stealth meter script (05/25/2023)
  • Added classic button style script (03/05/2023)
  • Added lap statistics script (31/01/2022)
  • Started releasing scripts (28/11/2021)

Mentions: [Script] Racing UI/UX Enhancements

xedx [2100735]
Thanks Brainslug! Interestingly, just today I made the same script - to resize the entrant's view at the bottom. For those curious, I lined mine up to fit the height of the car stats on the left, to 328px - it looks like this:

[image: imgur.com]
Anyone can edit the max-height on yours as they see fit, for me I just liked 328px I also went ahead and merged it together with your 'Me on top...' one too :-) It's now called this:


BrainRacing: Racing Styles



by Brainslug [2323221]

Mentions: Brainslug [2323221]

MrRightSA [2652679]
Hey love the scripts, however the custom preset races "allow upgrades" doesn't store so it always allows upgrades even when I don't want them.
biosterous [2377874] Wiki Contributor
go into the script itself (tampermonkey or w/e -> dashboard -> edit button on the left side) and add

upgradesAllowed: false,


to the presets that you want that for. doesn't fix the button, of course, but does give you the preset you want!
Brainslug [2323221]
Indeed it was not saving the "allow upgrades" field when using the in-game storage and not setting it correctly for "stock cars only", I rarely do stock races so never really tested that xD Thanks for letting me know I updated the script with a fix for that!
Brainslug [2323221]
I see there are still a couple places like the Gym that are not properly covered by the Classic Buttons script. Will look into those later :D
Power [2722961]
You're a life saver, bless your heart.

It does seem like its not working properly on a few pages, haven't had time to dig too deep as I just installed it and I am at work, but these are the ones I've come across thus far:

Faction (no button, text appears but will not fill with the actual button until something is typed in)
Gym (new buttons still)
Property (same as faction, no button at all until the text box is populated)
Greeny908 [2052540]
Can anyone help me install the classic buttons extension? After trying what seemed like everything for an hour I can't get Chrome to accept it (it doesn't like the fact that it's not on the Chrome Store)