Skip to content

Instantly share code, notes, and snippets.

@caseywatts
caseywatts / bookmarkleting.md
Last active April 10, 2026 09:53
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:.

@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,
// ==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==
@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==
@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/
@Zro617
Zro617 / scratch-siggy-header-link.user.js
Last active August 2, 2020 03:31
[Scratch] Adds the link to your signature to the top of the forums page where it belongs
@ateesdalejr
ateesdalejr / magicFluffyUnicorn.user.js
Last active August 2, 2020 18:37
Simple userscript for commenting nice when you love a project.
// ==UserScript==
// @name magicFluffyUnicorn
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Does cool magic fluffy unicorn kind of stuff.
// @author @TheUltimatum, @bob1171
// @match https://scratch.mit.edu/projects/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Scratch Messages Finder
// @namespace scratch.mit.edu/users/bob1171
// @version 1.1
// @description Displays someone's message count
// @author @bob1171
// @match https://scratch.mit.edu/users/*
// @grant none
// ==/UserScript==
@steven2358
steven2358 / ffmpeg.md
Last active May 19, 2026 06:00
FFmpeg cheat sheet
@eddiewebb
eddiewebb / readme.md
Last active January 12, 2026 06:31
Hugo JS Searching with Fuse.js