Black lives matter
Portrait Dr. Axel Rauschmayer
Dr. Axel Rauschmayer
Homepage | Twitter
Cover of book “JavaScript for impatient programmers”
Book, exercises, quizzes
(free to read online)
Cover of book “Deep JavaScript”
Book (50% free online)
Cover of book “Tackling TypeScript”
Book (first part free online)
Logo of newsletter “ES.next news”
Newsletter (free)

Bookmarklets: simple plugins for your browser

(Ad, please don’t block)

A bookmarklet is a bookmark whose URL (web address) contains a small program that does something useful with the currently displayed web page. To execute the program, you click on the bookmark.

  • Installation: Usually, a bookmarklet is provided on the web as a link that you drag to your bookmarks bar.
  • Examples of useful bookmarklets:
  • Tip: bookmarklets can be quickly invoked via browser keywords.
A simple example would be the following program inside a URL.
javascript:alert("hello")
You can click on the link to execute it, you can also add the link to your bookmarks bar.

Update 2011-06-08: Implementing bookmarklets in JavaScript