Skip to content

Instantly share code, notes, and snippets.

@lbmaian
lbmaian / youtube-hide-livechat-reactions.user.js
Last active February 2, 2024 02:53
YouTube - Hide Live Chat Reactions
// ==UserScript==
// @name YouTube - Hide Live Chat Reactions
// @namespace https://gist.github.com/lbmaian/449871e9b082bd44f995e20f607276ed
// @downloadURL https://gist.github.com/lbmaian/449871e9b082bd44f995e20f607276ed/raw/youtube-hide-livechat-reactions.user.js
// @updateURL https://gist.github.com/lbmaian/449871e9b082bd44f995e20f607276ed/raw/youtube-hide-livechat-reactions.user.js
// @version 0.1.1
// @description Hide the annoying floating reactions stuff in live chat, both the button and emojis that float up from it
// @author lbmaian
// @match https://www.youtube.com/live_chat?*
// @icon https://www.youtube.com/favicon.ico
@lbmaian
lbmaian / youtube-normalize-title.user.js
Last active April 7, 2024 12:18
YouTube - Normalize Titles
// ==UserScript==
// @name YouTube - Normalize Titles
// @namespace https://gist.github.com/lbmaian/36b05afd0c595874c8bcb8a7616c8774
// @downloadURL https://gist.github.com/lbmaian/36b05afd0c595874c8bcb8a7616c8774/raw/youtube-normalize-title.user.js
// @updateURL https://gist.github.com/lbmaian/36b05afd0c595874c8bcb8a7616c8774/raw/youtube-normalize-title.user.js
// @version 0.1
// @description Normalize YouTube titles that abuse unicode for bold/italics/etc.
// @author lbmaian
// @match https://www.youtube.com/*
// @exclude https://www.youtube.com/embed/*
@lbmaian
lbmaian / youtube-remove-duplicate-recommendations.user.js
Last active June 19, 2023 13:25
YouTube - Remove Duplicate Recommendations
// ==UserScript==
// @name YouTube - Remove Duplicate Recommendations
// @namespace https://gist.github.com/lbmaian/05853120fb6c1887fd23c6d1132a1c6c
// @downloadURL https://gist.github.com/lbmaian/05853120fb6c1887fd23c6d1132a1c6c/raw/youtube-remove-duplicate-recommendations.user.js
// @updateURL https://gist.github.com/lbmaian/05853120fb6c1887fd23c6d1132a1c6c/raw/youtube-remove-duplicate-recommendations.user.js
// @version 0.5
// @description Remove duplicate recommendations (YouTube bug workaround), optionally filtering: already watched, in current playlist, mixes/playlists, movies
// @author lbmaian
// @match https://www.youtube.com/*
// @exclude https://www.youtube.com/embed/*
@lbmaian
lbmaian / youtube-force-compact-grid.user.js
Last active May 23, 2024 02:21
YouTube - Force Compact Grid (increases max # videos per row)
// ==UserScript==
// @name YouTube - Force Compact Grid (increases max # videos per row)
// @namespace https://gist.github.com/lbmaian/8c6961584c0aebf41ee7496609f60bc3
// @downloadURL https://gist.github.com/lbmaian/8c6961584c0aebf41ee7496609f60bc3/raw/youtube-force-compact-grid.user.js
// @updateURL https://gist.github.com/lbmaian/8c6961584c0aebf41ee7496609f60bc3/raw/youtube-force-compact-grid.user.js
// @version 0.4
// @description Force YouTube to show compact grid (max 6 videos per row) rather than "slim" grid (max 3 videos per row)
// @author lbmaian
// @match https://www.youtube.com/*
// @exclude https://www.youtube.com/embed/*
@lbmaian
lbmaian / youtube-ensure-video-plays-on-load.user.js
Last active December 15, 2022 15:38
YouTube - Ensure Video Plays On Load
// ==UserScript==
// @name YouTube - Ensure Video Plays On Load
// @namespace https://gist.github.com/lbmaian/c757a022bc8c33420b0b295ad4f971c0
// @downloadURL https://gist.github.com/lbmaian/c757a022bc8c33420b0b295ad4f971c0/raw/youtube-ensure-video-plays-on-load.user.js
// @updateURL https://gist.github.com/lbmaian/c757a022bc8c33420b0b295ad4f971c0/raw/youtube-ensure-video-plays-on-load.user.js
// @version 0.3.3
// @description Workaround for when YouTube somehow no longer autoplays videos on load
// @author lbmaian
// @match https://www.youtube.com/*
// @exclude https://www.youtube.com/embed/*
@lbmaian
lbmaian / youtube-playback-fixes.user.js
Last active December 18, 2023 09:39
YouTube - Playback Fixes
// ==UserScript==
// @name YouTube - Playback Fixes
// @namespace https://gist.github.com/lbmaian/5b1ff91593c9c0dc9262bfa74e8a5ad9
// @downloadURL https://gist.github.com/lbmaian/5b1ff91593c9c0dc9262bfa74e8a5ad9/raw/youtube-playback-fixes.user.js
// @updateURL https://gist.github.com/lbmaian/5b1ff91593c9c0dc9262bfa74e8a5ad9/raw/youtube-playback-fixes.user.js
// @version 0.9.1
// @description Workarounds for various YouTube playback annoyances: prevent "Playback paused because your account is being used in another location", skip unplayable members-only videos and upcoming streams in playlists
// @author lbmaian
// @match https://www.youtube.com/*
// @match https://music.youtube.com/*
@lbmaian
lbmaian / holotools-fixes.user.js
Last active May 6, 2023 14:58
HoloTools Fixes and Enhancements
// ==UserScript==
// @name HoloTools Fixes and Enhancements
// @namespace https://gist.github.com/lbmaian/fef815da2628dc6e546ba1f7cd8212a5
// @downloadURL https://gist.github.com/lbmaian/fef815da2628dc6e546ba1f7cd8212a5/raw/holotools-fixes.user.js
// @updateURL https://gist.github.com/lbmaian/fef815da2628dc6e546ba1f7cd8212a5/raw/holotools-fixes.user.js
// @version 0.5
// @description Fixes for HoloTools
// @author lbmaian
// @match https://hololive.jetri.co/
// @match https://holodex.net/login
@lbmaian
lbmaian / youtube-redirect-shorts.user.js
Last active March 13, 2024 07:37
YouTube - Redirect Shorts
// ==UserScript==
// @name YouTube - Redirect Shorts
// @namespace https://gist.github.com/lbmaian/c53f48e04a3303d059c042f779a82604
// @downloadURL https://gist.github.com/lbmaian/c53f48e04a3303d059c042f779a82604/raw/youtube-redirect-shorts.user.js
// @updateURL https://gist.github.com/lbmaian/c53f48e04a3303d059c042f779a82604/raw/youtube-redirect-shorts.user.js
// @version 0.2.2
// @description Redirects YouTube shorts URL to watch URL
// @author lbmaian
// @match https://*.youtube.com/*
// @grant window.onurlchange
@lbmaian
lbmaian / old-reddit-fixes.user.js
Last active April 24, 2022 06:31
old.reddit.com fixes
// ==UserScript==
// @name old.reddit.com fixes
// @namespace https://gist.github.com/lbmaian/c53a9642e15495006e4324d50adce46e
// @version 0.2
// @description old.reddit.com fixes: converts subreddit i.redd.it links to comment links, removes backslashes from links
// @author lbmaian
// @match https://old.reddit.com/r/*
// @match https://old.reddit.com/user/*
// @icon https://www.google.com/s2/favicons?domain=reddit.com
// @grant none
@lbmaian
lbmaian / youtube-hide-livechat.user.js
Last active April 17, 2024 11:41
YouTube - Hide Live Chat By Default
// ==UserScript==
// @name YouTube - Hide Live Chat By Default
// @namespace https://gist.github.com/lbmaian/94824cef728917a53d3c6e6ea885469c
// @downloadURL https://gist.github.com/lbmaian/94824cef728917a53d3c6e6ea885469c/raw/youtube-hide-livechat.user.js
// @updateURL https://gist.github.com/lbmaian/94824cef728917a53d3c6e6ea885469c/raw/youtube-hide-livechat.user.js
// @version 0.14
// @description Hide live chat by default on live streams
// @author lbmaian
// @match https://www.youtube.com/*
// @exclude https://www.youtube.com/embed/*