How to create a google chrome application

0
21

Steps to create a Google Chrome Application

image

there should be a manifest.json

Syntax as follows

{
  "name": "meabi.com",
 
  "version": "1.0",
  "description": "meabi.com sample app",

"icons": { "16": "icon16.png",
           "48": "icon48.png",
          "128": "icon128.png" ,
"permissions": [
    "tabs", "http://*/*", "https://*/*"
]

},

  "browser_action": {
    "default_icon": "icon.png",
    "popup": "popup.htm"
 

  }

 

 

}

the popup file popup.htm should be coded accordingly , make files icon.png,icon16.png,icon48.png,icon128.png in the extension directory

To install the plugin fo to Settings image

>>tools >> extensions

image

Click on Load unpacked extension…

select the folder

Thatz all

Now upon clicking the icon popup.html will popup

LEAVE A REPLY

Please enter your comment!
Please enter your name here