Adds a "collapse" button in PRs for github
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
lib
README.md
collapse.js
manifest.json

README.md

Github Collapse files in PR extension

How to install

  1. Download this repo
  2. Open Preferences -> Extensions in Chrome
  3. "Load unpacked extension" after enabling developer mode
  4. Load the folder

How it works

Adds the "Hide" button: