Sunday, 15 November 2015

Create your own extension in Google Chrome Browser


  • Hi all, this article will teach you how to create an extension in Chrome browser. It's very easy you just have to do is follow my steps.
  • Now since Google Chrome works with JSON we'll create a .json extension file in one of the folder as shown.


















  • Now in that file enter following code and save it.

{
  "manifest_version": 2,

  "name": "Youtube Watcher",
  "description": "Watch Videos of youtube",
  "version": "1.0",

  "browser_action": {
    "default_icon": "icon.png",
    "default_popup": "popup.html"
  }
  
}
  • Now create one html file named popup.html in same folder in which we'll enter following code:
<iframe width="560" height="315" src="https://www.youtube.com/watch?v=UcBn995_tZo" frameborder="0" allowfullscreen></iframe>
  • Thereafter we'll create one icon for youtube extension  named icon.png where you can save the youtube icon in this image file.
Note : All three files should be in Same folder as shown.




















  • Now open your Chrome browser and goto->More Tools->Extensions->Check the Developer Mode.
  • Now click Load unpacked extensions and select the folder where you have kept all this 3 files.
  • It will automatically load your youtube extension.
  • You can change anything you want if you are a json expert.











  • Thanks, I'll like share you this kind of stuff again.

No comments:

Post a Comment

How To Pass An Array As A Parameter While Calling an ASP.NET Web API C#

Please visit my C# Corner Blog for this, where I have provided better efforts to make this concept more understandable - www.c-sharpcorner....