Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Running Python within a Firefox Extension

0 views
Skip to first unread message

joshua...@gmail.com

unread,
Feb 2, 2007, 5:30:32 AM2/2/07
to
Hello all.

I am looking for a way/wondering if it is possible to run a Python
script within a Firefox extension.

So far, I have worked out the way to do this would probably be to
change the script type to Python and link to a python script, but I am
not sure if this is even possible.

It would be really good if this is possible, and even better if it is
possible to link to some extensions.

Thanks!
-Joshua Henderson

Nickolay Ponomarev

unread,
Feb 2, 2007, 10:30:10 AM2/2/07
to joshua...@gmail.com, dev-ext...@lists.mozilla.org
On 2 Feb 2007 02:30:32 -0800, joshua...@gmail.com
No this is not possible in any released versions of Firefox. There was
some work done on trunk (which will become Firefox 3), but even then I
believe the python bindings are not (yet?) built by default and in any
case the Python runtime will not be bundled with Fx.

Nickolay

joshua...@gmail.com

unread,
Feb 2, 2007, 6:24:27 PM2/2/07
to
On Feb 3, 2:30 am, "Nickolay Ponomarev" <asquee...@gmail.com> wrote:

Is it then possible to run C++ within Firefox extensions? I need to be
able to run Python, C or C++ within a extension to be able to do what
I need to do. When doing some reseach, I think I found 1. a few pages
about adding C++, and 2. another extension with C++ binaries
(FlashGot).

Thanks!

Nickolay Ponomarev

unread,
Feb 3, 2007, 5:44:12 AM2/3/07
to joshua...@gmail.com, dev-ext...@lists.mozilla.org
On 2 Feb 2007 15:24:27 -0800, joshua...@gmail.com
Yes, look for XPCOM resources.

Nickolay

0 new messages