Skip to content

Instantly share code, notes, and snippets.

@vallieres
Created January 17, 2019 14:52
Show Gist options
  • Save vallieres/b4393b60d85ff06ccd0a6b316ea22055 to your computer and use it in GitHub Desktop.
Save vallieres/b4393b60d85ff06ccd0a6b316ea22055 to your computer and use it in GitHub Desktop.
Toggles GitHub's PR Files Collapsable Boxes
javascript: void((function(d) {
d.querySelectorAll('button[aria-label="Toggle diff contents"]').forEach(function(x) {
x.click()
});
})(document));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment