Since the launch of Google Chrome, it’s been chaos in and around the web. Why Chrome is so popular? It’s simplicity and easy to use and users experience is so easy and no wonder to mention, millions of extensions. So, do you want to create one for your blog for free? Well as a developer its not available. But if can show case it to your friends and publicize about the same. To publish your chrome extension you will need a developer license which will cost $5 per extension. But always you can promote it for free with the help of Dropbox. Only thing is it won’t be published.
So lets get started: In this tutorial I will teach you the most easiest way to create Google Chrome Extension using JSON script.
Step1: Make a folder with you blog name as the folder name in Documents directory or any other suitable location. In this tutorial I’ll teach you how I created for my blog, you will need to make suitable changes as per your blog.
Step2: Open Notepad, save as “manifest.json” and type the following code in it,
“description”: “Smart Fat Blogger is now on Chrome where you can access the dynamic ability of our full site!”,
“permissions”: [ “http://www.smartfatblogger.in/” ]
Step3: Create another file using Notepad or Dreamweaver as “popup.html” This is file that will go into extension and act as the service that you want to provide for the user.
Step4a: Customize your popup.html, Here in this HTML I’ve posted some links so as to make this tutorial easy, this is what I created using Dreamweaver.
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Dynamic Smart Fat Blogger</title>
font-family: Georgia, “Times New Roman”, Times, serif;
<p><a href=”http://www.smartfatblogger.in/” target=”_blank”><img src=”sfb.png” alt=”flipcard” width=”250″ height=”65″ /></a></p>
<p><a href=”http://www.smartfatblogger.in/view/flipcard” target=”_blank”><img src=”flipcard.png” alt=”flipcard” width=”108″ height=”38″ /></a></p>
<p><a href=”http://www.smartfatblogger.in/view/mosaic” target=”_blank”><img src=”mosaic.png” alt=”mosaic” width=”108″ height=”38″ /></a></p>
<p><a href=”http://www.smartfatblogger.in/view/sidebar” target=”_blank”><img src=”sidebar.png” alt=”sidebar” width=”108″ height=”38″ /></a></p>
<p><a href=”http://www.smartfatblogger.in/view/snapshot” target=”_blank”><img src=”snapshot.png” alt=”snapshot” width=”108″ height=”38″ /></a></p>
<p><a href=”http://www.smartfatblogger.in/view/timeslide” target=”_blank”><img src=”timeslide.png” alt=”timeslide” width=”108″ height=”38″ /></a></p>
<div align=”left”><span>Developed by SurajKV</span></div>
You can create anything custom, depending on your choice, this HTML file basically represents what you want to do the most as a extension, you can also add RSS feed URL or Subscription box.
Step4b: Have a icon.png file also in that folder for your icon on chrome for display.
Step5: Open Chrome, click “Customize and Control Google Chrome” Option (spanner symbol)> Tools>Extensions.
Step6: Click Load Unpacked Version, Choose the location of the folder that we created initially. You may observe that the extension is loaded. And a small icon to right of address bar you can see your extension.
Click that and Voila! You just created your first Google Chrome Extension for your blog. You can also simply publish, this on Chrome Web store as a developer, follow here! The publish will cost you $5.
From The Author : The quotes used in the code is different from the quotes you use by your keyboard. If this is not working I kindly recommend you to replace all the quotes with your keyboard quotes key.
Did you enjoy this article?
This article is written by Suraj KV. He writes about hot deals and coupon site that offers coupons and discounts for technology and other products including Havahart Wireless fence and Oakley Designs.