Skip to content

Instantly share code, notes, and snippets.

@bwindels
Created December 15, 2021 15:00
Show Gist options
  • Save bwindels/6b8bcf6aac56bfde537a6b28fd41e3bc to your computer and use it in GitHub Desktop.
Save bwindels/6b8bcf6aac56bfde537a6b28fd41e3bc to your computer and use it in GitHub Desktop.
Expand all github comments on a PR
Array.from(document.querySelectorAll(".ajax-pagination-btn")).forEach(b => b.click())
// wait a bit for everything to load
Array.from(document.querySelectorAll(".Details-content--closed")).forEach(e => e.click())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment