Upgrade to Pro — share decks privately, control downloads, hide ads and more …

All Things Google: Introduction to Chrome Apps and Extensions

skim
October 05, 2012

All Things Google: Introduction to Chrome Apps and Extensions

This is an introduction to Chrome Apps and Extensions

Code samples available here: https://github.com/sl4m/crx-samples

skim

October 05, 2012
Tweet

Transcript

  1. // manifest.json { "manifest_version" : 2, "name" : "My Extension",

    "version" : "0.1.0", "browser_action" : {}, ... }
  2. { "background": {"persistent": false, ...}, "background": {"persistent": true, ...}, "chrome_url_overrides":

    {...}, "content_scripts": [...], "content_security_policy": "policyString", "file_browser_handlers": [...], "homepage_url": "http://path/to/homepage", "incognito": "spanning" or "split", "intents": {...} "key": "publicKey", "minimum_chrome_version": "versionString", "nacl_modules": [...], "offline_enabled": true, "omnibox": { "keyword": "aString" }, "options_page": "aFile.html", "permissions": [...], "plugins": [...], "requirements": {...}, "update_url": "http://path/to/updateInfo.xml", "web_accessible_resources": [...], "sandbox": [...] }
  3. { "background": {"persistent": false, ...}, "background": {"persistent": true, ...}, "chrome_url_overrides":

    {...}, "content_scripts": [...], "content_security_policy": "policyString", "file_browser_handlers": [...], "homepage_url": "http://path/to/homepage", "incognito": "spanning" or "split", "intents": {...} "key": "publicKey", "minimum_chrome_version": "versionString", "nacl_modules": [...], "offline_enabled": true, "omnibox": { "keyword": "aString" }, "options_page": "aFile.html", "permissions": [...], "plugins": [...], "requirements": {...}, "update_url": "http://path/to/updateInfo.xml", "web_accessible_resources": [...], "sandbox": [...] }
  4. XHR

  5. $5

  6. References Stay Up to Date Extensions - What's New Web

    Platform Status - captures the implementation status of HTML5 features support in Chrome HTML5 Forms Status HTML5 Weekly Update Test your browser web storage Chromium Blog Chrome Channel Releases Chrome Release Calendar The Next Evolution of Chrome Apps API DOM Manipulation Google Drive js client chrome.* APIs, chrome.experimental.* APIs, chrome DevTools APIs
  7. References Samples Extensions Extensions from the presentation vimium Other Feature

    Requests/Bugs - File feature requests! They really look at them! Google Apps Developer Blog