[Script] Bunpro Study Streak 2 Dragon

A simple script that changes the two instances I know of that show a study streak to dragon emojis because I just don’t like study streaks.

Dragon Status

Requires Tampermonkey for Firefox or your browser’s equivalent to install.
Script: Bunpro Study Streak 2 Dragon

This is my first browser script, so I’m not exactly sure how inefficient it is. Suggestions or bugfixes are appreciated. You can also do whatever you like with the script.

15 Likes

Looks like I already have to update it. Don’t worry, I’ll get to it tomorrow.

Maybe it would be good if there was an option to turn of the streaks “out of the box”.

I like the streaks because they keep me accountable, but I can also see that they might be stressful for some!

3 Likes

Updated to v1b. Profile page should be back to showing dragons. Well, a dragon.

Using the back and forward browser buttons brings the streak numbers back and I’m not immediately sure how to override that. If only I was as good at fixing bugs as I am at finding them.

1 Like

Maybe the easiest way would be to use a stylesheet override like the Firefox plugin Stylish instead of something that manually overwrites HTML. That’s what I’ve been using to hide the streak counters so far.

1 Like

The good news is I fixed it, the bad news is that the code is probably way more inefficient as now it just checks every element that loads or changes on bunpro instead of stopping when it finds the elements it’s looking for. As a consolation, the dragon status has been upgraded from :dragon: to :dragon::dragon:.