Skip to content

Instantly share code, notes, and snippets.

@litodam
Created November 25, 2014 19:57
Show Gist options
  • Save litodam/3796fc6032903e7c6c89 to your computer and use it in GitHub Desktop.
Save litodam/3796fc6032903e7c6c89 to your computer and use it in GitHub Desktop.
Removes 'acomghbot' comments from Pull Request view in GitHub to make it easier to parse the feedback
// ==UserScript==
// @name Remove 'acomghbot' comments from Pull Request view in GitHub
// @namespace http://your.homepage/
// @version 0.1
// @description Removes 'acomghbot' comments from Pull Request view in GitHub to make it easier to parse the feedback
// @author You
// @match https://github.com/Azure/acom/pull/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js
// @grant none
// ==/UserScript==
var botComments = $("div.timeline-comment-wrapper.js-comment-container:has(a[href='/acomghbot'])");
if (botComments.length > 5)
{
botComments.hide();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment