Github Pull Requests - Always Hide Whitespace

Always add the "hide whitespace" when viewing Github PR diffs

Author
Moriah
Daily installs
0
Total installs
3
Ratings
0 0 0
Version
1.0.0
Created
2024-08-21
Updated
2024-08-21
Size
1.13 KB
License
MIT
Applies to

This script will always add the "hide whitespace" url param when viewing Github pull request diffs, with ?w=1 or &w=1.

You can override to show whitespace diffs by manually changing to w=0 in your query instead of w=1, and script will leave it alone