I want to get started writing extensions for Google Chrome. I am a long time C, C++, Delphi, etc. developer for many years with some Java skills. I believe Chrome extensions are written in C++ but perhaps some people have figured out how to do development in other languages via alternate methods.

[UPDATE: NPAPI plug-ins are written in C++. Generic Chrome extensions use HTML, CSS, and JS as pointed out in the comments and replies below.]

Is there a book that covers developing Google Chrome extensions for those new to the field but are experienced programmers? Any other resources? I'd be most grateful for resources that cut out most of the ambient learning material and go straight to the heart of the matter with good samples along the way. Some tips on developing using development tools that run on the MS-Windows platform would be great too.

-- roschler

closed as off-topic by gnat, Bart van Ingen Schenau, amon, 8bittree, Laurent Bourgault-Roy Nov 15 '17 at 19:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to find or recommend tools, libraries, programming languages, resources (including books, blogs, tutorials, and examples), or projects to undertake are off-topic here as they attract opinionated answers that won't have lasting value to others. You may be able to get help in The Whiteboard, our chat room." – gnat, Bart van Ingen Schenau, amon, 8bittree, Laurent Bourgault-Roy
If this question can be reworded to fit the rules in the help center, please edit the question.

  • It is help full for me but in some websites they are telling that it will run through python script and all what is that script and why you have not mentioned here ??? – user69227 Oct 18 '12 at 18:04

You can find all informations about API and extension structure in http://code.google.com/chrome/extensions/index.html website. You can write extensions using only HTML, CSS, JS. There are also some sample extensions in this site. Moreover, you can unzip any extension that you want to check source codes.

  • is it the same of firefox? (aside for the api) – user Mar 24 '11 at 4:39
  • @Saad, they are very similar; both use HTML, CSS, JavaScript, and both use zip compression to package the code and resources. Although the file extensions they use are different (crx/xpi). – Majid Fouladpour Jul 24 '12 at 0:08
  • This is no longer true. You can write Chrome extensions in C++ and other languages too, it's called native messaging host. You just have to create an extension that can communicate back and forth with your native messaging host – Asesh Jun 2 '18 at 10:05

You're absolutely wrong about extensions being written in C++.

Google Chrome extensions are written using same tech stack as normal web apps. They use HTML, CSS and JS. Config files are JSON. The difference is, that in the extension you get access to Chrome API.

  • He's not wrong. See stackoverflow.com/questions/1666957/… – davidk01 Mar 24 '11 at 1:07
  • Thank you for the clarification. I was thinking of native plugin development (NPAPI) when I wrote that and C++ is the language used for NPAPI plugins from what I've read. – Robert Oschler Mar 24 '11 at 3:24
  • @david: extension and plug-in are completely different things – vartec Mar 24 '11 at 13:11
  • They both extend the browsers capabilities so from a users perspective they are not that different. – davidk01 Mar 24 '11 at 19:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.