A quick introduction to create your own Chrome Extension
You can use all the dev tools you know and love from web developing such as
- Gulp / Grunt
- Sass
- Bower
I'd also recommend to create a json linting task for your manifest.json
. It's just enoying and time consuming to reload your extension just to realize you have some linting errors in your manifest.json
If you are using gulp, you could use:
You can install the following extensions as follows:
- Go to chrome://extensions
- Activate the developer mode
- Click on "load unpacked extension"
- Select the folder where your extension under development lives
Smallest possible extension
Overwrite Chrome's default New Tab page. Add a icon.
Example for a background script. It also shows how to use the Chrome Extension Api: We ask for the permission to access the system.cpu Api and show the number of processors of the CPU.
browser_action example. Open a popup when icon is clicked and show processor information.
- Chrome Extension: https://developer.chrome.com/extensions
- Api Overview: https://developer.chrome.com/extensions/api_index
- Manifest: https://developer.chrome.com/extensions/manifest