Created
November 25, 2014 19:57
-
-
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
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 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