Userscripts and Styles
Userscripts and Styles
A thread for custom javascript and CSS for modifying the look and feel of the blaseball.com frontend. These tend to be smaller projects that don't need a whole thread.
To run userscripts, you'll need the Tampermonkey browser extension (chrome, firefox). To use userstyles, I recommend Stylus (chrome, firefox). (Uninstall Stylish if you have it! Stylus is compatible with the same userstyles and doesn't have malware in it.)
To run userscripts, you'll need the Tampermonkey browser extension (chrome, firefox). To use userstyles, I recommend Stylus (chrome, firefox). (Uninstall Stylish if you have it! Stylus is compatible with the same userstyles and doesn't have malware in it.)
It's not very effective...
she/her
she/her
Blaseball Team Game View
This is a truly horrible hack but it does make it easier to watch your favourite team.
Calls a function every time anything in the DOM updates. Don't write js like this, kids.
Source, install link

Calls a function every time anything in the DOM updates. Don't write js like this, kids.
Source, install link

It's not very effective...
she/her
she/her
- butchcats
- Posts: 32
- Joined: Wed Jan 04, 2023 12:29 am
- Location: locked in the firehouse's basement it's been two years someone please help m
Re: Userscripts and Styles
Here's a little block of code made by Ezra of the Lovers for use on the Stylus userstyle extension. It changes the font color of the game text to green, as well as making it a little bigger for legibility. You can change the 'color' hex code to be any color you want!

Additionally, here's SubtractionSoup's font changer to replace the Sneak font family in Blaseball https://userstyles.world/style/8054/sneakpique
Code: Select all
.game-widget__log {
color:#9ff549;
font-family: Proxima Nova, monospace;
font-size: .8rem;
line-height: 15px;
}

Additionally, here's SubtractionSoup's font changer to replace the Sneak font family in Blaseball https://userstyles.world/style/8054/sneakpique
nel | he/they | sig under construction
the ticker....
- Ackasi
- Posts: 119
- Joined: Tue Jan 03, 2023 11:09 pm
- Location: deep in the cheese caves
- Mood:
- Contact:
Re: Userscripts and Styles
Here's League Colors! it adds colors back to the names on the across the league
Made by mostlycogent

Made by mostlycogent

Your favorite butch burnout||Aniceto or Avery||Any/All


SUMMERSWINTERS SWEEP
View My CDMX blinkies under the spoilers <3
Blaseball Userscript Options
This is a script I'm working on that allows other scripts to register options that can be toggled in the settings menu of your blaseball profile. Right now, the only thing it does is allow the Team Game View script I posted earlier to enlarge every game optionally. Note the installation instructions; you need to do an extra step to ensure that it loads before any scripts that want to use it (which is why I haven't included an installation link here).
Source and installation instructions

There are instructions there for developer use as well. Currently all it does is checkboxes but I plan to improve that.
Source and installation instructions

There are instructions there for developer use as well. Currently all it does is checkboxes but I plan to improve that.
It's not very effective...
she/her
she/her
Blaseball Default Max Bet
It's not very effective...
she/her
she/her
- butchcats
- Posts: 32
- Joined: Wed Jan 04, 2023 12:29 am
- Location: locked in the firehouse's basement it's been two years someone please help m
Re: Userscripts and Styles
https://docs.google.com/document/d/1Bh0 ... AuTsI/edit Looks like there's a Google Doc now compiling a bunch of userscripts people have made for Blaseballl!
nel | he/they | sig under construction
the ticker....
- Paranundrox
- Posts: 20
- Joined: Tue Jan 10, 2023 12:19 am
Re: Userscripts and Styles
There's also a projects channel in SIBR for user styles now - you'll need the Projects Access role to see it but there's a handful of things in there
Para | They/He
"Can I offer you some Lupin the Third in this trying time?"

"Can I offer you some Lupin the Third in this trying time?"






Blaseball Auto Select Bets
Automatically select bets for a day of games by clicking on the hour header.
By default, selects the team with higher odds. Compatible with Blaseball Userscript Options to configure the algorithm by optionally choosing by record (with odds as a tiebreaker) and using a "too close to 50%" cutoff.
Source, install link

By default, selects the team with higher odds. Compatible with Blaseball Userscript Options to configure the algorithm by optionally choosing by record (with odds as a tiebreaker) and using a "too close to 50%" cutoff.
Source, install link

It's not very effective...
she/her
she/her
Blaseball Userscript Loader
This is more of a behind the scenes thing but I'll post it anyway.
To write userscripts for blaseball.com you have to have your code watch for any changes in the DOM and run a callback function every time, which sucks. Nobody likes doing it, and it's wasteful for all these different scripts to all be doing it separately. I've written a userscript loader that watches for DOM mutations and then calls scripts that care about them, rather than every individual script having to do that work themselves.
All the other userscripts I've posted have been updated to use the launcher if it's installed, or to fall back on their previous behaviour otherwise.
Source
No install link because there's one extra step you have to do when installing for the loader to work, details at the source link.
To write userscripts for blaseball.com you have to have your code watch for any changes in the DOM and run a callback function every time, which sucks. Nobody likes doing it, and it's wasteful for all these different scripts to all be doing it separately. I've written a userscript loader that watches for DOM mutations and then calls scripts that care about them, rather than every individual script having to do that work themselves.
All the other userscripts I've posted have been updated to use the launcher if it's installed, or to fall back on their previous behaviour otherwise.
Source
No install link because there's one extra step you have to do when installing for the loader to work, details at the source link.
It's not very effective...
she/her
she/her
Re: Userscripts and Styles
I've been working on a "darker mode" stylus extension for this forum. I have very big screens, so I prefer my sites on the darker end. That said, I'm not that good with colors, so if you have any recommendations, LMK. I'll post it when I'm happy with it.




Re: Userscripts and Styles
Oh that looks nice imo! I’ve been using the dark reader extension with flat but we should def have more dark options
fish | she/her
flashing woomy below

flashing woomy below
- Ackasi
- Posts: 119
- Joined: Tue Jan 03, 2023 11:09 pm
- Location: deep in the cheese caves
- Mood:
- Contact:
Re: Userscripts and Styles: PHPBB
I'm gonna do some digging for styles for Holly to add, heres phpBB's style database https://www.phpbb.com/styles/ if you wanna make any suggestions, maybe start a thread for forum additions in Forum Meta
Your favorite butch burnout||Aniceto or Avery||Any/All


SUMMERSWINTERS SWEEP
View My CDMX blinkies under the spoilers <3
Re: Userscripts and Styles
On my CDMX Forum darkmode Stylus code, I think i'm overall happy with it now. Here you go!
Re: Userscripts and Styles
Some new ones from the blaseball community:
Adds back in weather icons, by Myno: https://greasyfork.org/en/scripts/458750-weather-icons
Displays money won after betting is done on the betting screen, by BeeFox: https://beefox.xyz/files/snippets/totalChips.js
Adds back in weather icons, by Myno: https://greasyfork.org/en/scripts/458750-weather-icons
Displays money won after betting is done on the betting screen, by BeeFox: https://beefox.xyz/files/snippets/totalChips.js
fish | she/her
flashing woomy below

flashing woomy below
Re: Userscripts and Styles
Displays sum money won/lost from each betting day, by clair: https://pastebin.com/mG7iG5T2
fish | she/her
flashing woomy below

flashing woomy below
- Ackasi
- Posts: 119
- Joined: Tue Jan 03, 2023 11:09 pm
- Location: deep in the cheese caves
- Mood:
- Contact:
Re: Userscripts and Styles
https://greasyfork.org/en/scripts/458812-blaseball-tts Blaseball TTS, fair warning, it's as slow as the game is, so the occasional robotic jump scare is expected.
Your favorite butch burnout||Aniceto or Avery||Any/All


SUMMERSWINTERS SWEEP
View My CDMX blinkies under the spoilers <3