Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

OT: FireFox extensions

by Anonymous Monk
on Mar 30, 2007 at 17:02 UTC ( #607527=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Is Perl capable of programming FireFox Extensions? I'm assuming not...does anyone know where I can start to learn how to program FireFox extensions?

Comment on OT: FireFox extensions
Re: OT: FireFox extensions
by gloryhack (Deacon) on Mar 30, 2007 at 17:22 UTC
Re: OT: FireFox extensions
by Fletch (Chancellor) on Mar 30, 2007 at 17:24 UTC

    Firefox is extended with Javascript and XUL (an XML widget declaration language). If you'd STFW you can very easily find things such as this tutorial at developer.mozilla.org.

    As for using Perl, I'm pretty sure you can't directly; I'm also marginally sure that you can't directly call out to an external binary (analogous to opening a pipe or calling system) even from Javascript in an extension. You could however probably interact with Perl running on a remote webserver, but I don't think that's what you're asking for.

Re: OT: FireFox extensions
by valdez (Monsignor) on Mar 30, 2007 at 21:10 UTC

    I think XUL::Node has an interesting approach:

    XUL-Node is a rich user interface framework for server-based Perl applications. It includes a server, a UI framework, and a Javascript XUL client for the Firefox web browser. Perl applications run inside a POE server, and are displayed in a remote web browser.

    HTH, Valerio

Re: OT: FireFox extensions
by bsdz (Friar) on Apr 02, 2007 at 07:23 UTC
    I have mused on this several times in the past and finally concluded it is not that easy at all. My best idea was to use PyXPCOM in conjunction with pyperl. A project called PlXPCOM used to provide a Perl/XPCOM bridge but this does not appear to be under development.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://607527]
Approved by Anno
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (16)
As of 2014-08-22 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (163 votes), past polls