Day 14 of learning JavaScript: Deploying the Chrome extension
Today I learned how to deploy the Chrome extension so that people can use it. The first thing I had to know was JSON. The JavaScript Object Notation. It's a format for storing and transporting data and is often used when data is sent from a server to a webpage. It's really "self-describing" and easy to understand.
Here are the things we need to mention before deploying the project:
{
"manifest_version" : 1, // declares the manifest version
"version" : 1.0, // declares the version
"name" : "Leads Tracker", // declares the name that chrome shows
"action" : {
"default_popup" : "index.html", // when opened, open index.html
"default_icon" : "icon.png" // the extension icon is icon.png
}
}
That's the icon file:
Now, when you want to deploy the project, you have to open: chrome://extensions
Then you click the developer mode button so that it's on. Then you click on load unpacked and select the project folder.