What are Bookmarklets

Bookmarklets are small peice of JavaScript code that is stored as bookmarks in browser. Bookmarklets help in automating repetitive task, access hidden information from page.

Simple bookmarklets look like this


Just copy the above code and save it as bookmark,

Once bookmark is saved you can click on it run on any webpage.

info icon

Bookmarklets have javascript: prefix,

Wihtout javascript: prefix any JavaScript code saved as bookmark will not run in browser.

Pros of using Bookmarklets

Cons of using Bookmarklets

If you want to create your bookmarklet then here is full post about How to create your own Bookmarklet