Chrome extensions course #3. The manifest.json of our extension – .com

In the third class of the Google Chrome extension development course we are going to understand how the manifest.json file works and we will see what it is for.

In order to see all this we are going to use the official Google Chrome documentation (developer.chrome.com) in which we can see a reference to the Chrome API and all the parameters that we can use in our manifest.json file.

We are also going to build a little code that will allow us to have our first test extension with just a manifest.json file and a background.js file. We will install this extension in our browser and try to update it and see what it does. Go for it!

That easy! We can say that we have created our first extension or at least its structure.

It is important to note that we work with version 2 of manifest.json for this initiation, and that later in the course we will see the differences with version 3.

In this lesson we will see everything about the manifest.json file. Basically, this file is in charge of managing and collecting all the necessary information for our extension to work correctly in Google Chrome.

It is a configuration file that will allow us not only to specify the name, version and description of our extension, but it will also allow us to establish which files will be in charge of running in the background, which will be the files that will execute the UI ( with HTML and CSS), including the necessary permissions to access the different Google Chrome APIs or certain web pages.

See also  JavaScript for HTML5 Course #1. Introduction - .com

As optional homework I encourage you to investigate information about everything that can be done with manifest.json to improve your Google Chrome extension. It is very interesting to know if we can take advantage of our developments in more applications.

As always, if you have any doubt or question, you can send it through the support form of the subscriber intranet. See you in the next lesson! 🙂

Remember that if you will have access to everybody the courses and you can also enjoy everything from .

All chapters in this course:

Loading Facebook Comments ...
Loading Disqus Comments ...