My Professional Profile

I am Johnson Augustine Sr.Software Engineer and System Architect. I have 10 Yrs of hands on expertise in ASP.net MVC 5 , Angular 5 , C# MVC Razor, WPF MVVM , Android , IOS Swift 3 , IOS11 MSSQL,MySQL Database,,PHP,C/C++/Visual C++/G++/QT++,Com,DirectX,Open CV,EMGU CV , embedded System Development , [Raspberry PI]. ,html,Javascript,Jquery,Ajax.CSS , Networking ,Cyber security, Ethical Hacking You can see my professional profile at http://linkedin.com/in/johnsontaugustine Email : johnsonaugustine@live.com

Thursday, 10 October 2013

Create simple plugi n for google chrome browser - Plug-in development

Create simple plugi n for google chrome browser - Plug in development

Plug ins are addons that will give additional fecilities in to applications than built in . To create a simple plug in we need to do simple two steps

Create a minifest.json file
Create an html file

manifest.json

{
  "name": "my test menu",
  "version": "1.0",
  "manifest_version": 2,
  "description": "The first extension that I made.",
  "browser_action": {
    "default_menu": "First Menu",
    "default_popup": "popout.html"
  },
  "permissions": [
    "http://api.flickr.com/"
  ]
}

popout.html file

<html>
<html>
<label><b>This is a plugin</b></label>
</html>
</html>

To execute plugin in test mode Go to menu --> settings -->extensions -->tick developer mode -->click load unpack extension

This will execute your plugin

To pack the plugin click on pack plugin

This is a simple plugin



No comments:

Post a Comment

Note: only a member of this blog may post a comment.