Skip to content

Instantly share code, notes, and snippets.

@jugglinmike
Forked from tbranyen/youtube-comments.user.js
Created August 14, 2012 12:58

Revisions

  1. jugglinmike revised this gist Aug 14, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions youtube-comments.user.js
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@

    // ==UserScript==
    // @name RemoveYouTubeComments
    // @description Remove bullshit YouTube comments.
    // @include http://www.youtube.com/*
    // @match http://www.youtube.com/*
    // @author Tim Branyen
    // @version 1.0
    // ==/UserScript==

  2. @tbranyen tbranyen created this gist Aug 14, 2012.
    16 changes: 16 additions & 0 deletions youtube-comments.user.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@

    // ==UserScript==
    // @name RemoveYouTubeComments
    // @description Remove bullshit YouTube comments.
    // @include http://www.youtube.com/*
    // @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);
    }