Originally published at: http://www.sitepoint.com/create-chrome-extension-10-minutes-flat/
about everything you could ever possibly want.
But, have you ever wanted to create your own Chrome extension? Have you ever wondered how difficult the process would be or what it would entail? Well, it turns out it is super easy—probably a lot easier than you ever imagined.
In this tutorial I am going to show you how to create a basic Chrome extension in about 5 minutes—no joke!
What we are going to build
I’ll often check other sites that I’m on as well, so I can see how they compare.
Well, wouldn’t it be nice if there was a Chrome extension that allowed you to use GTmetrix to check the site speed of whatever site you happened to be browsing, just by clicking a button?
I checked the Chrome Web Store and there wasn’t an extension that performed this action, so that’s exactly what we are going to build today.
What is a Chrome Extension?
Before we get started building our extension, it’s probably a good idea to have a basic understanding of what a Chrome extension is and how Chrome extensions work.
Chrome extensions can also be created to work only on certain pages through the use of Page Actions, they can run code in the background using Background Pages, and they can even modify an existing page loaded in the browser using Content Scripts. But for this tutorial we are going to keep things simple.
If you are interested in learning more about Chrome extensions in general, check out Chrome’s extensions documentation.