Jan 18, 2012

How to Develop Chrome Extensions

,
Like other Web browsers, Google Chrome allows users to develop "extensions" -- small pieces of software that do not run on their own but rather add features to Chrome itself. Programming Chrome extensions does require some knowledge of Web programming languages like HTML and JavaScript, but anyone able to put in the time can both write and freely distribute a Chrome extension; no licensing fee or other transaction with Google is required.


Instructions

    • 1
      Create a folder for your extension on your computer. This folder will hold the code for your extension, split across multiple files, as well as any images or other objects the code refers to.
    • 2
      Familiarize yourself with the programming languages used by Chrome extensions. Each extension has a central "manifest file," always called "manifest.json," that provides important information and refers to other code files; this file is always written in JavaScript Object Notation, or JSON, a simple language based on JavaScript. Other files may include HTML, CSS, and JavaScript code.
    • 3
      Refer to Google's site for detailed instructions on Chrome development. Google maintains a tutorial at Code.google.com/chrome/extensions/getstarted.html that will walk you through creating a very simple extension; after this, click "Overview" on the left side of the page to read a further introduction to the concepts behind Chrome development. Once you've practiced creating extensions, you can refer to the in-depth "Developer's Guide," also accessible from the left side of the page, for all the information you need.

0 commentaires to “How to Develop Chrome Extensions”

Post a Comment

 

HowToYo Copyright © 2011 | Template design by O Pregador | Powered by Blogger Templates