Archive for the ‘Chrome’ Category

Chrome: Cheat Sheet for Writing a Chrome Extension

Saturday, February 13th, 2010

Getting started official tutorial

http://code.google.com/chrome/extensions/getstarted.html

manifest.json

{
  "name": "My First Extension",
  "version": "1.0",
  "description": "The first extension that I made.",
  "browser_action": {
    "default_icon": "icon.png",
    "popup": "popup.html"
  },
  "permissions": [
    "http://api.flickr.com/"
  ]
}

See also: Browser Actions

Debug & Inspect extension

  1. chrome-extension://extensionId/popup.html to see the page
  2. got to chrome://extensions/ and click on popup.html
See also: Debug extensions