473,394 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Browser plugins

Hi,

I'd like to write a simple portable browser plugin for Internet Explorer,
Netscape and if possible other navigators too. Is there a way to do that
using Python? For now I'd like to develop something like the GoogleBar, but
I'd also like to know how to develop "in-frame" plugins such as Flash or
Realplayer.

I searched comp.python.com history but all I came across was someone saying
"why would you want to write Browser Plugins in the first place?". A kind
of disguised "don't know" if you ask me.
I then looked on www.python.org but I soon found myself on ActiveX pages: I
would hate to go that way because it seems neither simple nor portable.

Any ideas? Any links to documentation for browser plugins development? Any
code examples or open source project I could check out?

Thank you very much,
Aurélien
Jul 18 '05 #1
1 4521
"Aurélien Géron" <ag****@videotron.ca> writes:
I'd like to write a simple portable browser plugin for Internet Explorer,
Netscape and if possible other navigators too. Is there a way to do that
using Python? For now I'd like to develop something like the GoogleBar, but
I'd also like to know how to develop "in-frame" plugins such as Flash or
Realplayer.
I *think* Netscape plugins are quite simple, and it's not possible to
do things like toolbars without taking over the whole window. I may
be completely wrong there -- I've never written one. The Mozilla
documentation is no doubt the place to start (Netscape Navigator is
now a flavour of Mozilla, in case you don't know). I'm sure Mozilla
will have lots of more sophisticated ways of doing things, but maybe
not ones that make it possible to write cross-browser code -- unless
you write a framework yourself, of course.

[...] Any ideas? Any links to documentation for browser plugins development? Any
code examples or open source project I could check out?


It might not be as bad as it first appears, since XPCOM is heavily
modelled on MS COM, and was designed to interoperate with it to an
extent, I believe. PyXPCOM exists (written by Mark Hammond, of
PythonCOM (etc.) fame). Other starting points:

-ActiveX Control for Netscape plugins +
Netscape plugin for ActiveX controls +
Mozilla ActiveX control (not relevant to your question, but
interesting)

http://www.iol.ie/~locka/mozilla/mozilla.htm

I think both Opera and Konqueror support Netscape plugins.
-Codeweavers sells a product that uses a hacked version of wine to
allow ActiveX plugins to work in Mozilla, Konqueror, etc. Called
'Crossover Plugin', or something.
-Qt has classes for implementing Netscape plugins. At least, it did
-- can't find it in Qt 3. Not sure if that's accessible from PyQt,
either. Qt for Windows is not free (but there is a weird
noncommercial license for a single release of Qt/win 2.x). Qt/win 3
includes some COM support, so there's a chance that might help you do
a cross-platform plugin, if you can afford the licence.

There may well be other ways of doing this, I haven't looked hard.
Google away...
John
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: hokiegal99 | last post by:
Is there an easy way to get info from browsers on what plugins they have installed? For example, what version of quicktime does the browser have installed if any? Thanks
4
by: stu_pb | last post by:
I am designing a plugin system for a window application using .NET(C# specifically). One of the requirements of the plugin system is to be able to dynamically load/unload plugins. My initial...
5
by: Christoph Haas | last post by:
Dear coders... I'm working on an application that is supposed to support "plugins". The idea is to use the plugins as packages like this: Plugins/ __init__.py Plugin1.py Plugin2.py...
4
by: Alan D. | last post by:
Hello. I was wondering if anybody had any good resources on creating browser plugins using C#. Right now I'm only worried about Internet Explorer plugins as I already have some documentation on...
0
by: Greg Conely via .NET 247 | last post by:
I am creating a application that will be using plugins. I am doing this so that when I want to let this application work with another type of dbase system, I only have to write\install one plugin,...
4
by: trpost | last post by:
I am looking for a script using javascript to pull browser information including, browser type and version, OS info, plugins (flash, acrobat, media player, etc), java version, etc. that will work...
7
by: Laurent Navarro | last post by:
Hello, I created a software some times ago, which uses some plugins to work (which I coded also). I had problems to load those plugins as they used some classes and functions which were...
0
by: ramapv | last post by:
I am using mozilla.when i am running a jsp file using plugins i am getting the above message.What shall i do inorder to see the plugins. Please tell me what ever the softwares i need to install for...
10
by: Conrad Lender | last post by:
In a recent thread in this group, I said that in some cases object detection and feature tests weren't sufficient in the development of cross-browser applications, and that there were situations...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.