Thursday, June 23, 2011

How to Develop Google Chrome Extensions (draft)

Create the extension


  1. Create a folder somewhere on your computer to contain your extension's code.
  2. Inside your extension's folder, create a text file called manifest.json, and put this in it:

    {
        "name": "MyExtension",
        "version": "1.0",
        "description": "This is a sample Google Chrome extension.",
        "permissions": [ "http://www.ralin.net/" ]
    }

Load the extension

  1. Open the extensions management page by choosing Tools > Extensions menu.
  2. Hit the Load unpacked extension button and a file dialog will appear.
  3. Go to your extension folder and select it.

0 comments:

Post a Comment