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

Latest Version

Version
0.1.0
Update
November 19, 2019
Size
16.91KiB
Developer
Category
Users
21
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
*://github.com/*
WebRequest
WebRequestBlocking
See more

Whiteout Extension

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.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Whiteout", "description": "Always ignore whitespace for pull request reviews on github.com (uses ?w=1 url parameter)", "author": "Eric Halvorsen", "version": "0.1.0", "background": { "scripts": [ "background.js" ] }, "permissions": [ "*://github.com/*", "webRequest", "webRequestBlocking" ], "browser_action": { "default_popup": "options.html", "default_title": "Whiteout - Ignore Github Pull Request Whitespace Diffs" }, "icons": { "16": "images/icon-16.png", "48": "images/icon-64.png", "128": "images/icon-64.png" }, "manifest_version": 2}
Read more

Similar Extensions

icon

GitHub Whitespace Extension · Developer Tools 21 10 ★ 15.73KiB

icon

GitHub Merge Guardian Extension · Developer Tools 21 0 ★ 306KiB

icon

Git Notify Extension · Developer Tools 21 8 ★ 388KiB

icon

GitHub: Better Line Counts Extension · Productivity 21 4 ★ 123KiB

icon

Git Well Soon Extension · Developer Tools 21 4 ★ 9.78KiB

icon

tracklessURL Extension · Productivity 21 4 ★ 857KiB

icon

Lab Partner Extension · Developer Tools 21 8 ★ 469KiB

icon

Copy GitHub PR link with title Extension · Social & Communication 21 0 ★ 11.1KiB

icon

GitHub File Tree Resizer Extension · Developer Tools 21 1 ★ 7.51KiB

icon

GitHub Code Owners Filter Extension · Developer Tools 21 2 ★ 156KiB

icon

Codecode Review for GitLab Extension · Developer Tools 21 6 ★ 210KiB

icon

Github Issue Reactions Extension · Developer Tools 21 8 ★ 75.1KiB

icon

DotGit Extension · Developer Tools 21 12 ★ 147KiB

icon

Github1s Quickswitch Extension · Developer Tools 21 1 ★ 9.12KiB

icon

Qodo Merge: AI-Powered Code Reviews & Chat Extension · Developer Tools 21 32 ★ 389KiB

icon

GitHub PR Templates Extension · Developer Tools 21 0 ★ 7.92KiB

icon

Code Note Extension · Developer Tools 21 1 ★ 671KiB

icon

Better GitHub Extension · Developer Tools 21 1 ★ 57.19KiB

icon

Github Pull Request Counter Extension · Developer Tools 21 4 ★ 68.37KiB

icon

Github Whitespace Hider Extension · Developer Tools 21 2 ★ 3.52KiB

icon

Pull Request Review Helper Extension · Developer Tools 21 2 ★ 518KiB

icon

审查工具 (GitLab) Extension · Developer Tools 21 0 ★ 22.82KiB

icon

GitHub comment minimizer Extension · Productivity 21 3 ★ 495KiB

icon

GitHub Compare Online Extension · Developer Tools 21 0 ★ 383KiB

User reviews

icon

Zulhilmi Zainudin (ID: 0000008a07964e71) Voted 5 ★ - Updated 08/13/2020 Working perfectly. Thank you for making this!