Skip to content

Instantly share code, notes, and snippets.

@mxm
Created September 8, 2017 11:50
Show Gist options
  • Save mxm/2d81e91135f4b508723debfc5fd6efe5 to your computer and use it in GitHub Desktop.
Save mxm/2d81e91135f4b508723debfc5fd6efe5 to your computer and use it in GitHub Desktop.
Loads all the diffs which are hidden on the GitHub "Files changed"
var buttons = document.getElementsByClassName("load-diff-button");
for (var i=0; i < buttons.length; i++) {
buttons[i].click();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment