Skip to content

Instantly share code, notes, and snippets.

@JSoet
JSoet / github_expand_all_files.js
Created October 19, 2021 22:48
Github PR bookmarklet: Expand all collapsed files
javascript:
document.querySelectorAll('.file.Details:not(.Details--on) .js-details-target').forEach(node => node.click())