Automatically adds the hide white space filter to the GitHub diff view.
I Hate GitHub White Space Extension
This applies to...
1. Pull Request file diffs pages
2. Commit diffs pages
The extension detects if the white space setting is toggled by checking for the `w` in the URL query/search parameters. If the query param is not set to anything, the extension adds w=1 (hide white space).
By checking for the existence of the `w` param, it will allow users to have w=0 on purpose if they want to purposely show white space.
==========
There is an existing extension for this, however, I believe they're not secure enough. My extension only uses a Chrome content script (scripts that only run in the context of one tab/page) and is limited only to https://github.com/*
The URL check function runs when you navigate to a page on github.com and when the URL changes within the current page.
==========
GitHub Repo: https://github.com/hmh84/i-hate-github-whitespace
Issues and Feature Requests: https://github.com/hmh84/i-hate-github-whitespace/issues
Source Manifest.json
Similar Extensions
Old School GitHub 5 11 ★ 18.47KiB
DotGit 5 12 ★ 147KiB
백준허브(BaekjoonHub) 5 26 ★ 222KiB
Refined GitHub 5 213 ★ 572KiB
GfG to GitHub 5 17 ★ 726KiB
Le Git Graph - Commits Graph for GitHub 5 29 ★ 814KiB
tabVertikal - vertical tabs 5 21 ★ 157KiB
LeetHub v3 5 12 ★ 778KiB
UX Enhancer for GitLab 5 7 ★ 115KiB
Lovely forks 5 13 ★ 945KiB
CookieConsentCrusher for Stackoverflow 5 0 ★ 1.14MiB
Useful Forks 5 8 ★ 13.4KiB
Github Active Forks 5 4 ★ 170KiB
Hide Verified Twitter Users 5 1 ★ 7.72KiB
LeetHub v2 5 64 ★ 257KiB
Git Well Soon 5 4 ★ 9.78KiB
GitHub Whitespace 5 10 ★ 15.73KiB
LeetHub 5 3 ★ 8.2MiB
GitHub Code Owners Filter 5 2 ★ 156KiB
GitHub Merge Guardian 5 0 ★ 306KiB
No Cookie Banners 5 1 ★ 111KiB
Github1s Quickswitch 5 1 ★ 9.12KiB
Code Note 5 1 ★ 671KiB
GitHub File Diff 5 0 ★ 354KiB