Because https://github.com/community/community/discussions/5486
Git Well Soon Extension
Persists 'Hide whitespace' Setting on Github Code Review
When reviewing code on Github, there is an option to hide whitespace changes. However, this option is not persistent and has to be toggled each time a user reviews a pull request (As noted in the linked Github issue).
This extension effectively persists \"Hide whitespace\" as true. Additionally, it will allow the user to select \"Show whitespace\" for a specific pull request, before reverting back to hiding whitespace.
Read more
When reviewing code on Github, there is an option to hide whitespace changes. However, this option is not persistent and has to be toggled each time a user reviews a pull request (As noted in the linked Github issue).
This extension effectively persists \"Hide whitespace\" as true. Additionally, it will allow the user to select \"Show whitespace\" for a specific pull request, before reverting back to hiding whitespace.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Git Well Soon", "description": "Because https://github.com/community/community/discussions/5486", "version": "0.0.0.3", "manifest_version": 3, "icons": { "128": "assets/128x128.png" }, "background": { "service_worker": "background.js" }, "content_scripts": [ { "matches": ["*://*/*/pull/*/files*"], "js": ["content.js"] } ], "permissions": ["history", "scripting"], "host_permissions": ["*://*/*/pull/*/files*"]}
Read more