Created
May 31, 2013 20:57
-
-
Save gusaaaaa/5687933 to your computer and use it in GitHub Desktop.
Bookmarklet that vertically scrolls the page to the mouse pointer on click. Useful when you are reading a long text.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function() { window.onclick = function(e) { window.scroll(0, e.pageY - 20) } })() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment