Created
March 2, 2017 18:42
-
Star
(150)
You must be signed in to star a gist -
Fork
(9)
You must be signed in to fork a gist
-
-
Save juanca/5fd799c5b094e3e4f8b709cd101d7403 to your computer and use it in GitHub Desktop.
Github PR bookmarklet: Load all file diffs
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
| javascript: | |
| document.querySelectorAll('.load-diff-button').forEach(node => node.click()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've used this bookmarklet for years!
Note: for me it does not work for the new Files Changed experience, but this one does:
javascript:document.querySelectorAll('button').forEach(button=>{if(button.textContent.includes('Load Diff'))button.click()});HTH