Python as plug-in in Mozilla
Thomas Weholt
thomas at cintra.no
Mon Sep 4 07:51:46 EDT 2000
More information about the Python-list mailing list
Mon Sep 4 07:51:46 EDT 2000
- Previous message (by thread): Python embedding
- Next message (by thread): Python as plug-in in Mozilla
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Neil Hodgson" <neilh at scintilla.org> wrote in message news:VfLs5.29191$Xg.201255 at news-server.bigpond.net.au... > Thomas Weholt wrote: > > > Is it possible to use python-scripts as plug-ins in Mozilla? How could I > > write a script so that a menu-choice appear when I right-click on a link > and > > process that link in my python-script?` > > It is not currently easy to execute Python scripts within Mozilla. > ActiveState have said they are working on some related functionality: > http://www.activestate.com/Corporate/Media_Center/News/Press959150636.html > > You could write a plugin in C++ that encapsulates the Python environment > and runs your code. Ah, crap!! Perhaps somebody with sufficient C++ knowledge could write a generic plug-in for Python-scripts, so that python-scripts supporting a defined interface or API, could be listed under a menu-option in the right-click menu, and take the url as argument or something. This shouldn't be that hard for a real hacker ( I'm telling you I'm not man enough for this task ;-> ). Any up to it ? I would do it but I haven't got a single clue about C++, not at embedding in stuff like these etc. at least. Thomas
- Previous message (by thread): Python embedding
- Next message (by thread): Python as plug-in in Mozilla
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list