Last active
February 2, 2024 02:53
-
-
Save lbmaian/449871e9b082bd44f995e20f607276ed to your computer and use it in GitHub Desktop.
YouTube - Hide Live Chat Reactions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const reactionOverlay = document.getElementById('reaction-control-panel-overlay'); | |
if (reactionOverlay) { | |
console.log('[YouTube - Hide Live Chat] hiding live chat reactions panel'); | |
reactionOverlay.style.display = 'none'; | |
} else { | |
console.log('[YouTube - Hide Live Chat] could not find live chat reactions panel to hide'); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment