Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Github Whitespace Disabler

Github Whitespace Disabler by Oliver Maksimovic

Force Github to open diff pages without whitespace changes displayed. Inspired by: https://github.com/kemo/github-whitespace-disabler

4.5 (2 reviews)4.5 (2 reviews)
78 Users78 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
The add-on requires permission to access only relevant Github pages, but it's only evaluating the URLs and determining whether or not to redirect to the same URL with "w=1" appended. It is not reading any content.

Full source code is available here:
https://github.com/maksimovic/github-whitespace-disabler
Developer comments
At the moment, viewing diffs when comparing two branches does not force ignoring whitespace differences, because the entire browser hangs and CPU spikes to 100%. It has something to do with a specific URL structure (".../compare....user:branch") but I have yet to figure out what sort of regex would not cause Firefox to stall.

It does not seem to be related to the extension's code, because in that case the listener doesn't fire at all.
Rated 4.5 by 2 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
1
4
1
3
0
2
0
1
0
Read all 2 reviews
Permissions and dataLearn more

Required permissions:

  • Access your data for github.com
More information
Add-on Links
  • Support Email
Version
1.0.1
Size
14.75 KB
Last updated
4 years ago (Feb 19, 2022)
Related Categories
  • Web Development
  • Appearance
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
Release notes for 1.0.1
Remove /commit/ paths as they break some pages
More extensions by Oliver Maksimovic
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.