Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7538749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:12:00+00:00 2026-05-30T07:12:00+00:00

I want to develop a simple Chrome extension in C++, using NPAPI, which does

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T07:12:02+00:00Added an answer on May 30, 2026 at 7:12 am

    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…

    "plugins": [
        { "path": "your_npapi_plugin.dll" }    
      ],
    

    4 – On your extension background page create the plugin

    <script>
    var plugin = document.getElementById("MyNPAPIPluginId");
    ...
    </script>
    

    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.


    How do I get the value of MyNPAPIPluginId? All I have is the name of the DLL?

    On your background page when you add the tag of your plugin, you place the id

    <embed type="application/my-plugin-mimetype" id="MyNPAPIPluginId">
    

    On Windows you add the MIMEType on the resource file of the DLL, add a entry with:

    VALUE "MIMEType", "application/my-plugin-mimetype"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to develop a chrome extension which docks a new panel to the
I want to develop a simple orm which performs CRUD functionality.Shold i use reflection?
I want to develop a simple windows manager, but do not know which library
i want to develop an extension in Chrome that will display an image above
I want to develop a simple web application using Spring Web Flow. The project
I want to develop a simple iPhone application which can record the external sounds,
I want to develop a simple java web application with JBoss 7 server to
I want to develop a rather simple web application in Scala, with Lift or
I want develop some web product with using javascript 3d library like three.js But
I want to develop mysql database application using dbexpress to develop from scratch or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.