Redirect GitHub pull request pages to ignore whitespaces

Latest Version

Version
2.0
Update
September 28, 2024
Size
15.73KiB
Developer
Category
Users
1,000+
Rating
4.8 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
ActiveTab
ContextMenus
See more

GitHub Whitespace Extension

Tired of switching GitHub's \"Hide whitespace changes\"?
This extension saves you three clicks!

The extension is minimal, you can simply enable or disable it from Chrome Extensions tab.


Update: Nov 6th, 2020
Now you can enable this extension on GitHub Enterprise by clicking the Extension icon -> \"Enable GitHub Whitespace on this domain\".
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "GitHub Whitespace", "description": "Redirect GitHub pull request pages to ignore whitespaces", "version": "2.0", "background": { "service_worker": "js/service_worker.js" }, "permissions": [ "activeTab", "contextMenus" ], "host_permissions": [ "*://*.github.com/*" ], "content_scripts": [ { "matches": [ "*://*.github.com/*" ], "js": [ "js/content_script.js" ], "run_at": "document_start" } ], "optional_host_permissions": [ "http://*/*", "https://*/*" ], "icons": { "16": "icon16.png", "32": "icon32.png", "48": "icon48.png", "128": "icon128.png" }}
Read more

How to download and manually install GitHub Whitespace extension for Chrome

Looking for a way to install GitHub Whitespace 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 GitHub Whitespace extensions manually, this article outlines two simple methods to effortlessly install GitHub Whitespace extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download GitHub Whitespace extension and manually install through Drag &Drop

If you ever need to manually install a GitHub Whitespace 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 GitHub Whitespace Extension by clicking the "Download CRX" button on the website.

Look for the GitHub Whitespace extension you wish to install. Go to the website and download the GitHub Whitespace extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for GitHub Whitespace 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 GitHub Whitespace 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 GitHub Whitespace extension for Chrome and install in Developer Mode

This is another method to install GitHub Whitespace 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 GitHub Whitespace extension file

Select and download the GitHub Whitespace 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 GitHub Whitespace 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 GitHub Whitespace 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 GitHub Whitespace 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 GitHub Whitespace extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Refined GitHub Extension · Developer Tools 1,000+ 213 ★ 572KiB

icon

Better Pull Request for GitHub Extension · Developer Tools 1,000+ 211 ★ 405KiB

icon

GIFs for GitHub Extension · Developer Tools 1,000+ 34 ★ 57.39KiB

icon

Github Whitespace ignorable differ Extension · Developer Tools 1,000+ 1 ★ 17.75KiB

icon

Render Whitespace on GitHub Extension · Developer Tools 1,000+ 7 ★ 9.93KiB

icon

Diff Navigator for GitHub Extension · Developer Tools 1,000+ 3 ★ 43.72KiB

icon

Notifier for GitHub Extension · Developer Tools 1,000+ 54 ★ 75.23KiB

icon

Hide whitespaces GitHub Extension · Developer Tools 1,000+ 2 ★ 10.26KiB

icon

Figma GitHub Extension · Developer Tools 1,000+ 5 ★ 29.55KiB

icon

GitHub: Better Line Counts Extension · Productivity 1,000+ 4 ★ 123KiB

icon

Github Whitespace Hider Extension · Developer Tools 1,000+ 2 ★ 3.52KiB

icon

GitHub Diff Whitespace Ignore Button Extension · Developer Tools 1,000+ 4 ★ 23.85KiB

icon

GitHub-Diff-Whitespace Extension · Developer Tools 1,000+ 6 ★ 5.42KiB

icon

Git Well Soon Extension · Developer Tools 1,000+ 4 ★ 9.78KiB

icon

Wide GitHub Extension · Developer Tools 1,000+ 67 ★ 17.71KiB

icon

GraphQL Network Inspector Extension · Developer Tools 1,000+ 123 ★ 8.34MiB

icon

Squashed Merge Message Extension · Developer Tools 1,000+ 4 ★ 78.32KiB

icon

Github diff helper Extension · Developer Tools 1,000+ 3 ★ 137KiB

icon

Github Saved Filters Extension · Developer Tools 1,000+ 15 ★ 2.07MiB

icon

Jira HotLinker Extension · Productivity 1,000+ 18 ★ 674KiB

icon

OctoLinker Extension · Developer Tools 1,000+ 110 ★ 184KiB

icon

GitHub Code Folding Extension · Developer Tools 1,000+ 16 ★ 1.06MiB

icon

Graphite Extension · Developer Tools 1,000+ 7 ★ 10.28KiB

icon

Widescreen for GitHub Extension · Developer Tools 1,000+ 24 ★ 1.94MiB

User reviews

icon

Calle Helmertz (ID: 0000005bc13245c9) Voted 3 ★ - Updated 04/20/2022 OK workaround, but for the use case "hide whitespace by default but allow showing it", this extension doesn't work. The extension ignores trying to show the whitespace changes.

icon

Ilya Borisov (ID: 0000001e473e9305) Voted 5 ★ - Updated 12/14/2021 A real time saver, so simple yet so powerful.

icon

Maxime Péloquin (ID: 0000007798b2b726) Voted 5 ★ - Updated 11/11/2021 Works well. I forget I have this installed, but I never see whitespace changes. So dumb that github doesn't have this as the default view, but until they do, this extension is required by all github users.

icon

Todd Vance (ID: 000000691112fec4) Voted 5 ★ - Updated 10/15/2021 Greatest programmer tool EVER!!!