Skip to content

Instantly share code, notes, and snippets.

@stefanmedack
Created January 22, 2019 11:11
Show Gist options
  • Save stefanmedack/eb7f73e722712ed1f30ca45763819feb to your computer and use it in GitHub Desktop.
Save stefanmedack/eb7f73e722712ed1f30ca45763819feb to your computer and use it in GitHub Desktop.
Expand 'Load diff' for Github PRs
Array.from(document.querySelectorAll('div'))
.filter(el => el.textContent === 'Load diff')
.forEach(it => it.click())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment