Skip to content

Instantly share code, notes, and snippets.

@Zro617
Zro617 / scratch-profile-navbar.user.js
Last active August 2, 2020 03:32
Adds a navigational bar on some profile subpages
// ==UserScript==
// @author Zro617
// @name Scratch Profile Navbar
// @namespace zro617.github.io
// @description Adds a navbar to the profile subpages
// @include https://scratch.mit.edu/users/*/projects/
// @include https://scratch.mit.edu/users/*/favorites/
// @include https://scratch.mit.edu/users/*/studios/
// @include https://scratch.mit.edu/users/*/studios_following/
// @include https://scratch.mit.edu/users/*/following/
@MegaApuTurkUltra
MegaApuTurkUltra / matu-ctrl-enter.user.js
Last active August 2, 2020 18:32
Makes CTRL-Enter submit on Scratch comment and forum editors
// ==UserScript==
// @name Scratch CTRL-Enter
// @namespace http://aputurk.tk/
// @version 0.1
// @description Adds keybinds for posting
// @author MegaApuTurkUltra
// @match https://scratch.mit.edu/*
// @grant none
// @run-at document-end
// ==/UserScript==
// ==UserScript==
// @name Scratch Project Analytics
// @version 1
// @description adds engagement rates for a project's likes/fav's out of total views an to MyStuff
// @author NickyNouse
// @match https://scratch.mit.edu/projects/*
// @match https://scratch.mit.edu/mystuf*
// @grant none
// ==/UserScript==
@diverted247
diverted247 / README
Last active November 23, 2025 04:13
Export slides from Google Slides as SVG - Console Script (Chrome tested)
To export SVG from Google Slides.
1. Open Slide deck.
2. View -> 100%
3. Click on every thumbnail from first to last, this puts the SVG into the DOM.
4. Paste the export.js in the console.
5. Make sure to allow multiple downloads.
6. All SVG should be in Downloads folder.
Cheers,
@caseywatts
caseywatts / bookmarkleting.md
Last active March 21, 2026 04:14
Making Bookmarklets

This is one chapter of my "Chrome Extension Workshops" tutorial, see the rest here: https://gist.github.com/caseywatts/8eec8ff974dee9f3b247

Unrelated update: my book is out! Debugging Your Brain is an applied psychology / self-help book

Making Bookmarklets

I'm feeling very clever. I've got this sweet line of javascript that replaces "cloud" with "butt". My mom would LOVE this, but she doesn't computer very well. I'm afraid to show her the Developer Console and have her type/paste this in. But she IS pretty good at bookmarks, she knows just how to click those!

A bookmark normally takes you to a new web page. A bookmarklet is a bookmark that runs javascript on the current page instead of taking you to a new page. To declare that it is a bookmarklet, the "location" it points to starts with javascript:.