Build on Your Success

Now we take the program that you just built and turn it into a Chrome extension. A Chrome extension is a small program that can be installed in Google Chrome to enhance the user’s Chrome experience. A Chrome extension can be powerful; some companies’ main product is a Chrome extension. The extension that we start in this chapter serves as the basis of the project for the rest of the book.

The first step is to create a new file called manifest.json. This file gives Chrome information about the extension and how it works. JSON is a type of document that stores data in an efficient way and that both computers and humans can easily read. Fill in your manifest.json file to look like Listing 1.10 (remember that every character ...

Get Learning to Program 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.