Process for creating Extension
-
First Create a manifest.json file with some content -->The first three keys: manifest_version, name, and version, are mandatory and contain basic metadata for the add-on -->Descriptional is not mandatory in JSON file -->icons is also optional but it's good to use icons -->specifiy some id for your add on
-
Create a js file which will take care of all the events
-
html file will contain basic layout
Steps for Uploading extension
- create a folder containing manifest.json , java script and html file
- open extensions tab in the browser and select developer mode
- in the extensions tab upload the floder which contains all the files
- Now an addon will added
What does this application does?
- A sidebar is added which allows user to take notes on the current web page and saved to local storage
- The notes for each page are shown again when you open that page again.
- Keyboard shortcut has been also added in this example