addon for developers

24 views
Skip to first unread message

Vulcanos Tvorba webových stránek

unread,
Jul 3, 2016, 7:40:58 AM7/3/16
to mozilla-labs-jetpack
Hi, I am new and learning tutorials how to create addons in Firefox. I have read, that there is addon for developers that you can send logs into Firefox console, not to waste time with shell and jpm run command. I followed instructions to run curl like this:

curl --data-binary '@extension.xpi' -H 'Exp
ect:' http://127.0.0.1/8888/
curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused

and I cannot access the port 80. I am not quite sure why this happens, but I added exception for curl and port 80 to firewall so no problems should happen. I do this on my PC on Windows XP.

Also is there some site where one can find some source codes for complete addons or next tutorials excepts those on developer.mozilla.org? I would like to learn how to save certain image(s) found in DOM to local disk.

Best Regards

Julien Wajsberg

unread,
Jul 4, 2016, 2:44:07 AM7/4/16
to mozilla-la...@googlegroups.com
Hi,

I'd suggest that you start with something simple first, so that you get used to the tools and the specificities of developing an add-on.
Here you're trying to do too many things at once, it's more difficult to understand things that way.

Sorry I don't specifically answer one of your questions here :)
--
Julien

--
You received this message because you are subscribed to the Google Groups "mozilla-labs-jetpack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mozilla-labs-jet...@googlegroups.com.
To post to this group, send email to mozilla-la...@googlegroups.com.
Visit this group at https://groups.google.com/group/mozilla-labs-jetpack.
For more options, visit https://groups.google.com/d/optout.

Noit Saab

unread,
Jul 4, 2016, 3:07:53 AM7/4/16
to mozilla-la...@googlegroups.com
Hi there,
Here is a tutorial on making a very basic WebExtension:

https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Your_first_WebExtension

Noit

He

Vulcanos Tvorba webových stránek

unread,
Jul 4, 2016, 6:06:56 AM7/4/16
to mozilla-labs-jetpack
Nice tutorial, thanks. I found the Addon Debugger yesterday here https://developer.mozilla.org/en-US/docs/Tools/about:debugging but I did not found how to open temporal addon (just ignored the button for this purpose) so your link helped me. This tutorial is definitely batter and more clear because of the video. I noticed they did a change from FF45 to FF47 because the Addons debugger does not contain the update buttons, instead I can press F5 on the page which is loaded and it immediately reflect the change in js file. I also noticed he opened borderify.js but I had to open manifest.json instead of it to get the addon to be debugged.

I will learn the rest of tutorials as soon as possible. I need to create some addon to change fonts on page and to increase font size, because now I must these changes with Debugging tools on every page I check. I love Arial Black, light yellow color and black background - it saves my eyes so I am not tired from the bright colors. I know there are some addons that change the colors but I would like to do my own addon so I could press hotkey and the colors and fonts will change automatically Hopefully you can send some more links to learn what I need. Hopefully there could be tutorials how to change font and size of text not just border color :-).


On Monday, 4 July 2016 09:07:53 UTC+2, Noit Saab wrote:
Hi there,
Here is a tutorial on making a very basic WebExtension:

https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Your_first_WebExtension

Noit

He
On Sun, Jul 3, 2016 at 11:43 PM, Julien Wajsberg <fel...@gmail.com> wrote:
Hi,

I'd suggest that you start with something simple first, so that you get used to the tools and the specificities of developing an add-on.
Here you're trying to do too many things at once, it's more difficult to understand things that way.

Sorry I don't specifically answer one of your questions here :)
--
Julien
On 3 July 2016 at 13:40, Vulcanos Tvorba webových stránek <tvorba.webu.h...@gmail.com> wrote:
Hi, I am new and learning tutorials how to create addons in Firefox. I have read, that there is addon for developers that you can send logs into Firefox console, not to waste time with shell and jpm run command. I followed instructions to run curl like this:

curl --data-binary '@extension.xpi' -H 'Exp
ect:' http://127.0.0.1/8888/
curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused

and I cannot access the port 80. I am not quite sure why this happens, but I added exception for curl and port 80 to firewall so no problems should happen. I do this on my PC on Windows XP.

Also is there some site where one can find some source codes for complete addons or next tutorials excepts those on developer.mozilla.org? I would like to learn how to save certain image(s) found in DOM to local disk.

Best Regards

--
You received this message because you are subscribed to the Google Groups "mozilla-labs-jetpack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mozilla-labs-jetpack+unsub...@googlegroups.com.

To post to this group, send email to mozilla-la...@googlegroups.com.
Visit this group at https://groups.google.com/group/mozilla-labs-jetpack.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "mozilla-labs-jetpack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mozilla-labs-jetpack+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages