Last active
August 29, 2015 14:02
-
-
Save shrhdk/cbd1df2d27109f934905 to your computer and use it in GitHub Desktop.
Add "Ignore Whitespace" button to File Changes Page in GitHub.
This file contains 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 GitHub File Changes without whitespace | |
// @namespace http://shiro.be/ | |
// @version 0.1 | |
// @description Add "Ignore Whitespace" button to File Changes Page in GitHub. | |
// @match https://github.com/*/*/pull/*/files | |
// @copyright 2014+, Hideki Shiro | |
// ==/UserScript== | |
$("#diff p.explain").append($("<a class='minibutton' href='" + location.href + "?w=1'>Ignore Whitespace</a>")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment