Javascript for the World Wide Web: Visual Quickstart Guide, Fifth Edition
by Tom Negrino, Dori Smith
Chapter 18. Bookmarklets
You know that JavaScript can be used to control Web browsers from inside your Web pages. However, you can also use JavaScript to control your browser without using Web pages, by using what are called bookmarklets. Bookmarklets are bookmarks (or favorites, if you prefer Internet Explorer's terminology) that contain a call to the browser's JavaScript interpreter, instead of an external URL. The JavaScript in your bookmarklets can do anything from getting details about images, to giving you the definition of a word, to displaying a graphical chart of all the Web-safe colors. And because you know JavaScript, this functionality is easy to add to make your browser smarter and a better tool.
Bookmarklets differ from other JavaScript ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access