Skip to content

Instantly share code, notes, and snippets.

@backflip
Created October 2, 2011 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save backflip/1257810 to your computer and use it in GitHub Desktop.
Save backflip/1257810 to your computer and use it in GitHub Desktop.
JavaScript bookmarklet to increase scrolling performance of GitHub code views on the iPhone
// Scrolling GitHub on my iPhone 4 (iOS 4.3.5) is almost impossible since it is extremely laggy / unresponsive.
// Digging through GitHub's code I discovered that unbinding some touch events solved the problem.
// No side effects detected.
javascript:jQuery('body').unbind(%22touchstart%20touchmove%20touchend%20touchcancel%22);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment