Widen Code Container and Hide Whitespace (GitHub)

Adds buttons to allow you to widen the container when viewing files and hide whitespace when viewing pull request diffs

As of 15/01/2016. See the latest version.

These are versions of this script where the code was updated. Show all versions.

  • v1.4.4 17/06/2018 Imported from URL
  • v1.4.3 07/10/2017 Hiding notifications menu item if empty
  • v1.4.3 07/10/2017 Hiding notifications item if empty
  • v1.4.2 22/07/2017 Fixing spacing issue with widen and hide whitespace buttons
  • v1.4.1 11/02/2017 Imported from URL
  • v1.4.0 29/10/2016 Imported from URL
  • v1.3.9 10/07/2016 Synced from GitHub - Removing whitespace
  • v1.3.9 11/05/2016 Synced from GitHub - Using waitForKeyElements instead of trying to hook into pjax events
  • v1.3.8 16/03/2016 Imported from URL
  • v1.3.7 14/03/2016 Synced from GitHub - Added checks to properly handle toggling the whitespace query param Optimizing the widening click handler
  • v1.3.6 14/02/2016 Imported from URL
  • v1.3.5 14/02/2016
  • v1.3.5 14/02/2016
  • v1.3.5 12/02/2016 Imported from URL
  • v1.3.4 12/02/2016 Synced from GitHub - Only widening container if the diff is visible
  • v1.3.3 03/02/2016 Imported from URL
  • v1.3.2 27/01/2016 Synced from GitHub - Updating all scripts
  • v1.3.2 27/01/2016 Imported from URL
  • v1.3.2 23/01/2016 Fixed removing focus from widen button when there's nothing to widen
  • v1.3.1 23/01/2016
  • v1.3.1 23/01/2016
  • v1.3.1 23/01/2016 Fixed small mistake in toggling whitespace in diffs
  • v1.3.0 23/01/2016 Increased toggle width to 95% of window and the whitespace button toggles now
  • v1.2.9 23/01/2016
  • v1.2.9 23/01/2016
  • v1.2.9 23/01/2016
  • v1.2.9 23/01/2016
  • v1.2.9 15/01/2016 Added tooltip back
  • v1.2.8 15/01/2016 Removed tooltips added titles instead
  • v1.2.7 15/01/2016
  • v1.2.7 15/01/2016 Added a button to reload the page without whitespace in the diff and added tooltips for the buttons
  • v1.2.6 15/01/2016
  • v1.2.5 08/01/2016
  • v1.2.5 08/01/2016
  • v1.2.5 08/01/2016
  • v1.2.5 23/12/2015
  • v1.2.5 23/12/2015 Removing button focus after it is clicked
  • v1.2.4 23/12/2015 Increasing the width of the correct container this time. Now it expands to the left and right.
  • v1.2.3 23/12/2015
  • v1.2.2 22/12/2015
  • v1.2.1 21/12/2015
  • v1.2 19/12/2015
  • v1.2 19/12/2015
  • v1.1 19/12/2015
  • v1 19/12/2015
  • v1 19/12/2015