Scroll to top - JavaScript bookmarklet

So, tell me, how many times have you annoyed with very long pages (such as this blog) and wished for a single click way to jump to top of the page!? If your answer is many, then this tip might give you some relief - add a bookmarklet to your bookmarks toolbar that jumps to the top of the page for you.

Here's the dead simple way to do it. Just drag this link to your bookmarks toolbar: [^]1

Here are the manual steps:

  1. Add a new bookmark.
  2. In the name field, enter either ^ or UP or *whatever*!
  3. In the location/URL field, enter: javascript:window.scrollTo(0,0);
  4. Save it.

Happy jumping around!

Chat with the Author

This post was written by Veera, a software developer by profession and a maker by passion.

You will be taken to twitter.com where you can edit the tweet before posting.

If you liked my writing, you may like my products