Last active
May 6, 2020 08:30
-
-
Save mstssk/ed0d51d061dc3f2487a1be7b252b037d to your computer and use it in GitHub Desktop.
Hide comments on YouTube
This file contains hidden or 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 Hide comments on YouTube | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Hide comments on YouTube | |
// @author @mstssk | |
// @match https://www.youtube.com/* | |
// @grant none | |
// @homepageURL https://gist.github.com/mstssk/ed0d51d061dc3f2487a1be7b252b037d/ | |
// @updateURL https://gist.githubusercontent.com/mstssk/ed0d51d061dc3f2487a1be7b252b037d/raw/hide_comments.js | |
// @downloadURL https://gist.githubusercontent.com/mstssk/ed0d51d061dc3f2487a1be7b252b037d/raw/hide_comments.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const elem = document.createElement("style"); | |
elem.innerText = `ytd-comments {display:none;}`; | |
document.head.appendChild(elem); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment