extension ExtPose

I Hate GitHub White Space

CRX id

jffhbnipbleekgflcgbkpehelhnnbdgi-

Description from extension meta

Automatically adds the hide white space filter to the GitHub diff view.

Image from store I Hate GitHub White Space
Description from store GitHub's website doesn't have a way to persist their "hide white space" setting in the code diff view. This slows down workflow when reviewing code changes. 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

Statistics

Installs
Category
Rating
0.0 (0 votes)
Last update / version
2024-04-09 / 1.2
Listing languages
en

Links