Skip to content

Instantly share code, notes, and snippets.

@jackcarey
jackcarey / filter-gmail-unread.user.js
Last active October 25, 2024 07:52
Adds buttons to Gmail to quickly toggle the unread filter on the current view. Appears left of the search text input.
// ==UserScript==
// @name Filter Gmail to unread
// @namespace http://tampermonkey.net/
// @version 1.1.1
// @description Adds a button to Gmail to quickly toggle the unread filter on the current view.
// @author jackcarey
// @match https://mail.google.com/mail/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com
// @grant none
// @run-at document-idle
@jackcarey
jackcarey / youtube-playlist-cleanser.user.js
Last active November 22, 2023 12:35
YouTube Playlist Cleanser UserScript
// ==UserScript==
// @name Youtube Playlist Cleanser
// @version 2.3.0
// @description Removes watched videos from playlist either by %watched, date or all
// @author jackcarey / js6pak
// @match http*://*.youtube.com/*
// @match http*://youtube.com/*
// @run-at document-idle
// @homepageURL https://gist.github.com/jackcarey/ab8b23ebba87f3cf8d0ac4a2fa45eefc
// @downloadURL https://gist.github.com/jackcarey/ab8b23ebba87f3cf8d0ac4a2fa45eefc/raw/youtube-playlist-cleanser.user.js