Skip to content

Instantly share code, notes, and snippets.

View CST1229's full-sized avatar
🔵
This is a customized status from GitHub, displayed by GitHub.

CST1229

🔵
This is a customized status from GitHub, displayed by GitHub.
View GitHub Profile
@CST1229
CST1229 / readme.txt
Last active June 25, 2021 21:17
PuzzleScript Cell Machine Test (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@CST1229
CST1229 / OPScratchForumBookmark.txt
Last active July 10, 2023 11:12
Automatic Original Post Scratch Forum bookmarklet
EDIT: A similar thing to this bookmarklet is now in Scratch Addons,
as the "Automatically add post link to quotes" option in the "Quote post number" addon.
Check OPScratchForumBookmarkCode.txt for the code!
Put the below code as a bookmark and click it to activate.
Once activated, when you quote a post, it will automatically add a link to the original post.
Obivously will only last until the page reloads.
@CST1229
CST1229 / Clean2CodeSForumBookmark.txt
Last active June 5, 2021 16:10
Clean -> Code Scratch Forum Bookmarklet
NOTE: The code button also does the Clean code due to a bug!
Let's be honest, who uses the Clean button in the Scratch forums? Nobody! This is why I've created this bookmarklet, which replaces the Clean button with a Code button.
Just click it and now your Clean button is now a Code button that adds code tags to your text!
I would have liked to reorder it to be next to the Quote button but that's a bit hard to do.
@CST1229
CST1229 / CSTForumTools.txt
Created May 18, 2021 10:50
CST1229's Scratch Forum Tools
Another bookmarklet.
This one just adds tools below the forum editor. Currently there's inserting color tags (not coloring text) and mentioning users. Oh and you can close it.
@CST1229
CST1229 / ScratchBigSearchBookmark.txt
Last active July 24, 2021 18:23
Scratch Expanding Search Bar Bookmarklet (v4)
This bookmarklet expands the search bar when it is focused, similar to the wiki.
This is inspired by a suggestion I saw.
Versions
v1: Initial release
v2: Updated to use functions in the scratch-www events to prevent copy-pasting code
v2.1: Fixed a bug that prevented the search bar from unexpanding
v3: Tweaked to allow dynamic enabling and disabling (not in the bookmarklet though)
v4: Updated to catch up with the SA PR (obiviously with the addon APIs removed)
@CST1229
CST1229 / AddOcularReactions.txt
Last active June 6, 2021 17:09
Insert Ocular Reaction Buttons Forum Bookmarklet
Warning: This bookmarklet does not work on the edit post page.
Click the bookmarklet to insert ocular reaction buttons to your Scratch forum post. You have to input a post ID. Leave blank to cancel.
Buttons are from here:
https://scratch.mit.edu/discuss/post/5312209/
/* Emoji picker */
form div.txtarea div[style="padding-top: 4px; float: right"] {
direction: rtl;
margin-right: 18px;
font-size: 0;
height: 23px;
padding-top: 0 !important;
margin-top: 4px;
@CST1229
CST1229 / ajaxchat.css
Created August 9, 2022 09:15
TBGs AJAX Chat Userstyle
#content #chatList q {
font-variant: normal;
display: inline-flex;
flex-wrap: wrap;
align-items: center;
vertical-align: bottom;
}
#content #chatList q::before {