<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Why does it need to be in C++ ?<br>
      <br>
      On more recent versions of Firefox, you will need to use jsctypes
      to do the C++ bits, and that will make using the DOM from C++ very
      difficult, if not impossible.<br>
      <br>
      I would strongly recommend you do it in JS as a webextension,
      using which it should be possible to trivially make it work for
      both Firefox and Chrome.<br>
      <br>
      I do not believe add-ons can force themselves to be
      non-uninstall/disable-able.<br>
      <br>
      ~ Gijs<br>
      <br>
      On 28/09/2015 05:44, Seiji Sam Lee wrote:<br>
    </div>
    <blockquote
cite="mid:CA+S52aKFXz+DxMBZWq-DEdwCL8mCDXiX=JApwW8jwWSoz0f-Zg@mail.gmail.com"
      type="cite">
      <div dir="ltr">I need a little help with extensions:<br>
        <br>
        I want to develop in c++ an extension with the next features:<br>
        <br>
        + it have to be notified when a new page is loaded.<br>
        + it have to had access to the document DOM.<br>
        + it have to be installed by root and it cannot be
        uninstalled/disabled by user.<br>
        + preferably for firefox and chrome, but with firefox as first
        option.<br>
        <br>
        It will be part of a research project in my classroom. <br>
        <br>
        Nowadays I have a mess in my mind with the amount of
        possibilities and a fault of documentation.<br>
        What is the best option?<br>
        <br>
        Thanks in advance: Fran.<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
firefox-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:firefox-dev@mozilla.org">firefox-dev@mozilla.org</a>
<a class="moz-txt-link-freetext" href="https://mail.mozilla.org/listinfo/firefox-dev">https://mail.mozilla.org/listinfo/firefox-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>