Whiteout icon

Whiteout

Extension Actions

How to install Open in Chrome Web Store
CRX ID
kjnogfleegbnceafkhaoonppmheanjhm
Description from extension meta

Always ignore whitespace for pull request reviews on github.com (uses ?w=1 url parameter)

Image from store
Whiteout
Description from store

Very simple extension to remove Whitespace from github pull request reviews.

Normally, when reviewing a pull request to a code repository on Github.com, the diff displayed on the pull request will automatically include 'whitespace-only changes', i.e. a
tab added to the beginning of a line. There is a method to 'hide' whitespace-only changes, however, this will reset the moment you navigate away or to a new pull request. There
currently isn't a way to ensure this is the 'default' setting.

When this extension is installed and enabled, all github.com urls containing the expression /pulls/ will be rewritten to have ?w=1 as a query parameter (without mangling the other params). As a result, all Github code reviews will always ignore whitespace, rather than having to toggle it for each review (See example image). This is a useful feature when having to review a lot of code that has a lot of whitespace in it.

If Github someday makes this a profile setting rather than a transient one, this extension will no longer be needed.

Latest reviews

Zulhilmi Zainudin
Working perfectly. Thank you for making this!
Zulhilmi Zainudin
Working perfectly. Thank you for making this!