Handy userscripts for the Scratch website.

Florrie b5ffe60a5e No-reply-hider - don't hide own topics il y a 6 ans
LICENSE.txt 9fba1dea93 Initial commit il y a 6 ans
README.md b5ffe60a5e No-reply-hider - don't hide own topics il y a 6 ans
scratch-colorful-messages.css a4036f238d scratch-colorful-messages.css il y a 6 ans
scratch-comment-anonymizer.js 5469861a6a Rename redactor.js -> anonymizer.js il y a 6 ans
scratch-comment-blocker.js 9fba1dea93 Initial commit il y a 6 ans
scratch-forums-no-reply-hider.js b5ffe60a5e No-reply-hider - don't hide own topics il y a 6 ans
scratch-gui-dark.css db4ff5f05f scratch-gui-dark.css il y a 6 ans

README.md

Handy userscripts for the Scratch website.

These are mostly designed for the Scratch 2.0 website (scratchr2), so they generally won't have an effect on migrated pages (scratch-www).

Install using your usual userscript manager. I use Violentmonkey.

scratch-comment-anonymizer

Adds a button beside "Report" to anonymize a Scratch comment. Redacts references to the author of the user in the comment's comment thread (and hides their profile picture), so anonymity of the user is there for all their comments in the thread.

There aren't any settings for this script. It's designed for scratchr2, so it won't work when comment sections are migrated to scratch-www.

scratch-comment-blocker

Hides comments that are made by specified users from comment sections. Can remove entire threads that involve specified users, or just hide individual comments.

Configure your settings at the top of the file. This is designed for scratchr2, so it won't have an affect on places like your messages page. As such, it's not designed to work with people who actively try to interact with you.

scratch-forums-no-reply-hider

Hides forum topics that have not gotten any replies. This was made so that skimming every topic created in the new Scratch 3.0 Beta forums would be easier. I was looking for topics replied to by the ST, and this script follows the logical rule that if a topic has not been replied to by anybody, it has not been replied to by the ST.

By default, the program only works on forum ID 57 by default. You'll want to change the @match at the start to whatever subforum you want to use the script on.

You can also turn off the setting where posts with one reply not by the ST are hidden. (That follows the logical rule that if there was one reply, and the reply was not made by an ST member, there have been no replies by the ST.)

The program won't hide the topics you created yourself. You can set an option to make it do that.

scratch-colorful-messages (.css)

Userstyle that makes the message screen colorful, coloring each message row by the type of message it is (e.g. making comments blue, studio invites green, forum posts pink, and so on).

Targets the scratch-www /messages/ page.

scratch-gui-dark (.css)

Silly half-complete userstyle that makes the Scratch 3.0 GUI dark-themed.

Designed to target standalone GUI pages, e.g. llk.github.io/scratch-gui or preview.scratch.mit.edu. May mess with the /preview/ project page (not tested). Will probably break as scratch-gui is updated and has more features added and enabled.