-
-
Save jugglinmike/3349071 to your computer and use it in GitHub Desktop.
A user script for removing bullshit YouTube comments.
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 RemoveYouTubeComments | |
// @description Remove bullshit YouTube comments. | |
// @match http://www.youtube.com/* | |
// @author Tim Branyen | |
// @version 1.0 | |
// ==/UserScript== | |
// Find the comments view element. | |
var commentsView = document.getElementById("comments-view"); | |
// Make sure it exists, otherwise an error will be thrown. | |
if (commentsView) { | |
// Remove this shit from the DOM. | |
commentsView.parentNode.removeChild(commentsView); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment