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
Ignacio Machin ( .NET/ C# MVP ) - 27 Mar 2008 16:03 GMT
> 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
[quoted text clipped - 12 lines]
>
> 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
Arne Vajhøj - 28 Mar 2008 01:43 GMT
> 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
thephatp - 28 Mar 2008 13:04 GMT
> > You need to know the interface FF is expecting, if it use COM you can
> > do it.
[quoted text clipped - 6 lines]
>
> 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!
Arne Vajhøj - 28 Mar 2008 01:42 GMT
> 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