Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
thephatp - 27 Mar 2008 03:28 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#?

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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.