Skip to content

Instantly share code, notes, and snippets.

@JavaScript-Packer
Created March 26, 2016 06:33
Show Gist options
  • Save JavaScript-Packer/4eabc6e9c3dc5f3e9bf2 to your computer and use it in GitHub Desktop.
Save JavaScript-Packer/4eabc6e9c3dc5f3e9bf2 to your computer and use it in GitHub Desktop.
Bookmarklet to get a web page back to the top without having to scroll all the way back. Add a link too bookmarks, then edit URL to be the JavaScript code provided.
javascript:void(function(){window.scroll(0,0)}());void(0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment