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 ...
Get Javascript for the World Wide Web: Visual Quickstart Guide, Fifth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.