Unable to build Firefox add-on development environment

Asked 2 years ago, Updated 2 years ago, 130 views

I would like to create an add-on for Firefox.
I'm referring to the following site, but it doesn't work the same way, perhaps because it's been a while since the information.

https://dev.mozilla.jp/addon-sdk-docs/dev-guide/tutorials/installation.html
https://dev.mozilla.jp/addon-sdk-docs/dev-guide/tutorials/getting-started-with-cfx.html

The cfx init on the cfx introduction page is the same, but
When you enter the cfx run command,

(C:\addon-sdk-1.17) C:\addon-sdk-1.17\bin\my-addon>cfx run
Using binary at'C:\Program Files (x86)\Mozilla Firefox\firefox.exe'.
Using profile at'c:\users\ux21a\appdata\local\temp\tmps1leik.mozrunner'.
appears, and Firefox appears white.

Does this mean that there is a mistake somewhere?Or is the information old?

firefox

2022-09-29 22:28

1 Answers

I tried it, but I think the information is probably out of date.

The Firefox starts up white.


There is nothing written about this in the cfx init main.js. I think it's normal to turn white.

There are some samples in the "examples" directory under sdk, so
If you run cfx run using them, you will be able to see the movement.
<cfx init moved the contents to the directory you created.

dreddit-panel <
Enter a description of the image here

--------------
The English website seems to be newer, so I'll put it on just in case.
https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials


2022-09-29 22:28

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.