Always ignore whitespace for pull request reviews on github.com (uses ?w=1 url parameter)
Whiteout Extension
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.
Source Manifest.json
How to download and manually install Whiteout extension for Chrome
Looking for a way to install Whiteout extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install Whiteout extensions manually, this article outlines two simple methods to effortlessly install Whiteout extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download Whiteout extension and manually install through Drag &Drop
If you ever need to manually install a Whiteout extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the Whiteout Extension by clicking the "Download CRX" button on the website.
Look for the Whiteout extension you wish to install. Go to the website and download the Whiteout extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Whiteout extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the Whiteout extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download Whiteout extension for Chrome and install in Developer Mode
This is another method to install Whiteout extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the Whiteout extension file
Select and download the Whiteout extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the Whiteout extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Whiteout extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the Whiteout extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install Whiteout extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
GitHub Whitespace 21 10 ★ 15.73KiB
GitHub Merge Guardian 21 0 ★ 306KiB
Git Notify 21 8 ★ 388KiB
GitHub: Better Line Counts 21 4 ★ 123KiB
Git Well Soon 21 4 ★ 9.78KiB
tracklessURL 21 4 ★ 857KiB
Lab Partner 21 8 ★ 469KiB
Copy GitHub PR link with title 21 0 ★ 11.1KiB
GitHub File Tree Resizer 21 1 ★ 7.51KiB
GitHub Code Owners Filter 21 2 ★ 156KiB
Codecode Review for GitLab 21 6 ★ 210KiB
Github Issue Reactions 21 8 ★ 75.1KiB
DotGit 21 12 ★ 147KiB
Github1s Quickswitch 21 1 ★ 9.12KiB
Qodo Merge: AI-Powered Code Reviews & Chat 21 32 ★ 389KiB
GitHub PR Templates 21 0 ★ 7.92KiB
Code Note 21 1 ★ 671KiB
Better GitHub 21 1 ★ 57.19KiB
Github Pull Request Counter 21 4 ★ 68.37KiB
Github Whitespace Hider 21 2 ★ 3.52KiB
Pull Request Review Helper 21 2 ★ 518KiB
审查工具 (GitLab) 21 0 ★ 22.82KiB
GitHub comment minimizer 21 3 ★ 495KiB
GitHub Compare Online 21 0 ★ 383KiB
User reviews
Zulhilmi Zainudin (ID: 0000008a07964e71) Voted 5 ★ - Updated 08/13/2020