Skip to content

Instantly share code, notes, and snippets.

@jialiang
jialiang / reddit-block-tracking-events.user.js
Created November 8, 2026 05:15
Reddit: block tracking events - Stop sending analytics events without breaking infinite scroll.
// ==UserScript==
// @name Reddit: block tracking events
// @namespace local
// @version 1.0
// @description Stop sending analytics events without breaking infinite scroll.
// @match https://www.reddit.com/*
// @match https://sh.reddit.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
@jialiang
jialiang / reddit-max-video-quality-and-volume.user.js
Created October 31, 2026 05:54
Reddit: max video quality and volume - Start videos at their highest quality and unmute them at full volume.
// ==UserScript==
// @name Reddit: max video quality and volume
// @namespace local
// @version 1.0
// @description Start videos at their highest quality and unmute them at full volume.
// @match https://www.reddit.com/*
// @match https://sh.reddit.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
@jialiang
jialiang / reddit-hide-old-feed-posts.user.js
Last active November 1, 2026 14:40
Reddit: hide old feed posts - Hide home feed posts older than 48 hours.
// ==UserScript==
// @name Reddit: hide old feed posts
// @namespace local
// @version 1.2
// @description Hide home feed posts older than 48 hours.
// @match https://www.reddit.com/*
// @match https://sh.reddit.com/*
// @run-at document-end
// @grant none
// ==/UserScript==
@jialiang
jialiang / native-size-images.user.js
Created October 24, 2026 07:18
Native-size standalone images - Show standalone images at one image pixel per screen pixel.
// ==UserScript==
// @name Native-size standalone images
// @namespace local
// @version 1.0
// @description Show standalone images at one image pixel per screen pixel
// @match *://*/*
// @match file:///*
// @run-at document-end
// @grant none
// ==/UserScript==
@jialiang
jialiang / reddit-unlink-search-terms.user.js
Created October 18, 2026 16:50
Reddit: unlink search terms - Turn the search links Reddit adds to comments back into plain text.
@jialiang
jialiang / reddit-login-password-manager.user.js
Last active October 19, 2026 04:19
Reddit login: expose fields to the password manager - Let Firefox autofill Reddit's shadow DOM login form.
// ==UserScript==
// @name Reddit login: expose fields to the password manager
// @namespace local
// @version 1.3
// @description Let Firefox's password manager autofill Reddit's login form.
// @match https://www.reddit.com/*
// @match https://old.reddit.com/*
// @run-at document-idle
// @grant none
// ==/UserScript==
@jialiang
jialiang / recaptcha-fast-tile-refresh.user.js
Created September 29, 2026 14:20
reCAPTCHA: fast tile refresh - Shorten tile fades and the wait before replacement images.
// ==UserScript==
// @name reCAPTCHA: fast tile refresh
// @namespace local
// @version 1.3
// @description Shorten reCAPTCHA tile fades and the wait before replacement images.
// @match https://www.google.com/recaptcha/api2/bframe*
// @match https://www.google.com/recaptcha/enterprise/bframe*
// @match https://www.recaptcha.net/recaptcha/api2/bframe*
// @match https://www.recaptcha.net/recaptcha/enterprise/bframe*
// @run-at document-start
@jialiang
jialiang / nhentai-vertical-reader.user.js
Created September 26, 2026 06:42
nhentai Vertical Reader - Read the rest of a gallery in one vertical scroll.
// ==UserScript==
// @name nhentai Vertical Reader
// @namespace local
// @version 1.0
// @description Show the rest of the gallery below the page you open, in one vertical scroll.
// @match https://nhentai.net/*
// @run-at document-start
// @grant none
// ==/UserScript==
@jialiang
jialiang / freeze-cam.user.js
Last active October 19, 2026 04:19
Freeze Cam - Hold your webcam on its last frame in any tab.
// ==UserScript==
// @name Freeze Cam
// @namespace local
// @version 1.2
// @description Hold your webcam on its last frame during a call (ctrl + shift + F).
// @match https://meet.google.com/*
// @match https://*.zoom.us/*
// @match https://*.zoom.com/*
// @match https://teams.microsoft.com/*
// @match https://teams.live.com/*
<!--
Pre-requisite:
At least understand the concepts involved in creating a square in WebGL
-->
<!--
Multisampled Frame Buffer Object with Depth Testing and Multi Render Target