Add-on just fail without message - Mozilla

This is a discussion on Add-on just fail without message - Mozilla ; I tried to create a firefox add-on, after imported the xpi file. I see my add on there, but that's it, no other working there. I can't see the menu item I am trying to add, as well as about. ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Add-on just fail without message

  1. Add-on just fail without message

    I tried to create a firefox add-on, after imported the xpi file. I see
    my add on there, but that's it, no other working there. I can't see
    the menu item I am trying to add, as well as about.

    Here is the codes:

    install.rdf


    xmlns:em="http://www.mozilla.org/2004/em-rdf#">



    JackPopOne
    {2d20ce90-3c9b-4f5e-a65d-1a2b8dd0be60}
    0.4



    {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
    1.0
    2.0.0.*




    opone.jar">
    ackage>content/ackage>









    popone-overlay.xul

    xmlns="http://www.mozilla.org/keymaster/gatekeeper/
    there.is.only.xul">







    accesskey="J" oncommand="hello();" />



    insertafter="context-stop" accesskey="J" oncommand="hello();" />




    contents.rdf


    xmlns:chrome="http://www.mozilla.org/rdf/chrome#">

    ackage:root">
    ackageopone"/>


    escription about="urn:mozillaackageopone"
    chrome:displayName="JackPopOne"
    chrome:author="Jack Yu"
    chrome:authorURL="http://suyu.net"
    chrome:name="JackPopOne"
    chrome:extension="true"
    chrome:description="Site Tracer.">
    escription>

    verlays">




    chrome://popone/content/popone-overlay.xul





  2. Re: Add-on just fail without message

    On Feb 9, 11:37 am, "jacksu" wrote:
    > I tried to create a firefox add-on, after imported the xpi file. I see
    > my add on there, but that's it, no other working there. I can't see
    > the menu item I am trying to add, as well as about.
    >
    > Here is the codes:
    >
    > install.rdf
    >
    >
    > > xmlns:em="http://www.mozilla.org/2004/em-rdf#">
    >
    >
    >
    > JackPopOne
    > {2d20ce90-3c9b-4f5e-a65d-1a2b8dd0be60}
    > 0.4
    >
    >
    >
    > {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
    > 1.0
    > 2.0.0.*
    >

    >

    >
    >
    > opone.jar">
    > ackage>content/ackage>
    >

    >

    >
    >

    >
    >

    >
    > popone-overlay.xul
    >
    > > xmlns="http://www.mozilla.org/keymaster/gatekeeper/
    > there.is.only.xul">
    >
    >
    >
    >
    >

    >
    >
    > > accesskey="J" oncommand="hello();" />
    >

    >
    >
    > > insertafter="context-stop" accesskey="J" oncommand="hello();" />
    >

    >

    >
    > contents.rdf
    >
    >
    > > xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
    >
    > ackage:root">
    > ackageopone"/>
    >

    >
    > escription about="urn:mozillaackageopone"
    > chrome:displayName="JackPopOne"
    > chrome:author="Jack Yu"
    > chrome:authorURL="http://suyu.net"
    > chrome:name="JackPopOne"
    > chrome:extension="true"
    > chrome:description="Site Tracer.">
    >
    escription>
    >
    > verlays">
    >
    >

    >
    >
    > chrome://popone/content/popone-overlay.xul
    >

    >
    >


    How to debug add-on on firefox?? Thanks


  3. Re: Add-on just fail without message

    On 9 Feb 2007 10:37:49 -0800, jacksu wrote:
    > I tried to create a firefox add-on, after imported the xpi file. I see
    > my add on there, but that's it, no other working there. I can't see
    > the menu item I am trying to add, as well as about.
    >
    > Here is the codes:
    >

    Use the chrome.manifest instead of contents.rdf files for chrome
    registration. The contents.rdf way is deprecated and the
    chrome.manifest is much easier.

    http://developer.mozilla.org/en/docs...g_an_Extension

    Nickolay

+ Reply to Thread