17. Bookmarklets

In This Chapter

Your First Bookmarklet 426

Resetting a Web Page’s Background 432

Changing a Page’s Styles 433

Word Lookups 436

Viewing Images 439

Displaying ISO Latin Characters 441

Converting RGB Values to Hex 444

Converting Values 446

A Bookmarklet Calculator 447

Shortening URLs 449

Validating Pages 450

Mailing Pages 451

Resizing Pages 452

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; sometimes bookmarklets are called favelets) that contain a call to the browser’s JavaScript ...

Get JavaScript: Visual QuickStart Guide, Eighth 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.