Skip to content

Instantly share code, notes, and snippets.

@alex35mil
Created January 11, 2017 12:21
Show Gist options
  • Save alex35mil/b54591b38b4d69a0ba6c9bd4c050d1c5 to your computer and use it in GitHub Desktop.
Save alex35mil/b54591b38b4d69a0ba6c9bd4c050d1c5 to your computer and use it in GitHub Desktop.
Bookmarklet to ignore whitespaces on GitHub
// Chrome -> Bookmarks Bar -> Add Page…
// Paste this in URL field:
javascript:(function(){var p=document.location.search,r=/\&?w=1/;document.location.search=p?p.match(r)?p.replace(r,''):p+'&w=1':'?w=1'})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment