I want to develop a simple Chrome extension in C++, using NPAPI, which does the job of dumping the HTML content of the current page onto a file. I don’t have much expertise in developing plugins/extensions. How do I get started on this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1 – Create a Extension…
http://code.google.com/chrome/extensions/getstarted.html
2 – Create a NPAPI plugin…
http://colonelpanic.net/2009/03/building-a-firefox-plugin-part-one/
3 – On the manifest of your extension add the plugin…
4 – On your extension background page create the plugin
5 – Create a javascript that you will use as a content script injected on every page.
On that script communicate with your npapi scriptable object and do the work you want to do.
On your background page when you add the tag of your plugin, you place the id
On Windows you add the MIMEType on the resource file of the DLL, add a entry with: