Is it possible to write a Firefox Plugin in C#?

T

thephatp

I'm completely new to plugins for Firefox, and I don't know if it's
possible to write one in C#. I've written a quick BHO for IE, and I'd
like to do the equivalent for Firefox, but I'd really prefer it be in
C#. If I have to do in C++ I can, it will just take me a lot longer.

So, is it even possible to write a Firefox plugin in C#?

If so, is it possible to capture page events in firefox (MSFT
equivalent BeforeNavigate2 or NavigateComplete or DocumentComplete)?

Also, does anyone know if plugins can be disabled or uninstalled (?
unregistered?) by a non-administrative user?

Thanks in advance for the help!

Chad
 
I

Ignacio Machin ( .NET/ C# MVP )

I'm completely new to plugins for Firefox, and I don't know if it's
possible to write one in C#.  I've written a quick BHO for IE, and I'd
like to do the equivalent for Firefox, but I'd really prefer it be in
C#.  If I have to do in C++ I can, it will just take me a lot longer.

So, is it even possible to write a Firefox plugin in C#?

If so, is it possible to capture page events in firefox (MSFT
equivalent BeforeNavigate2 or NavigateComplete or DocumentComplete)?

Also, does anyone know if plugins can be disabled or uninstalled (?
unregistered?) by a non-administrative user?

Thanks in advance for the help!

Chad

Hi,

You need to know the interface FF is expecting, if it use COM you can
do it.
You better check the docs of FF and maybe postback the requirements of
the plugin
 
A

Arne Vajhøj

thephatp said:
I'm completely new to plugins for Firefox, and I don't know if it's
possible to write one in C#. I've written a quick BHO for IE, and I'd
like to do the equivalent for Firefox, but I'd really prefer it be in
C#. If I have to do in C++ I can, it will just take me a lot longer.

So, is it even possible to write a Firefox plugin in C#?

I don't think you can write a FF plugin in .NET.

You wlll need C++ and native.

Check:
http://developer.mozilla.org/en/docs/Plugins

Arne
 
A

Arne Vajhøj

Ignacio said:
You need to know the interface FF is expecting, if it use COM you can
do it.
You better check the docs of FF and maybe postback the requirements of
the plugin

Not COM.

NPAPI or XPCOM.

Arne
 
T

thephatp

Not COM.

NPAPI or XPCOM.

Arne

D'oh...Ok, that's what I had gather from sifting through the docs as
well. I was hoping I was missing something or that it was just
burried and I hadn't found it yet. :(

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top