Delphi,develop Browsers plugin

I want to develop a browser plugin via Delphi, to be installed with the application,

the purpose from this plugin is just to check via browser if my program is installed on users computers or not

using navigator.plugin function

     if (navigator.plugins["My Browser Plugin name"]) {
          alert('yes application installed');
     } else {
          alert('not installed redirect to download page');

Please Help if anyone know how to develop this browser plugin on Delphi ??


There are specific types of plugins according to the browsers you are targeting. Internet Explorer uses ActiveX plugins, while Chrome, Firefox and others use NPAPI plugins.

Unfortunately you can't implement both types of plugin in the same Delphi project. You need one project for each implementation.

There's FireBreath, a C++ plugin framework you can use to build poweful browser plugins targetting all major browser platforms with the same code base. You could easily implement a function to check if your app is installed and deploy a FireBreah plugin compatible with IE, Chrome, Firefox, etc.


If you can't use C++, here are some useful Delphi examples on NPAPI and ActiveX plugins:



NPAPI plugins are relatively simple to implement and register. For ActiveX you need a little bit more effort, but it's perfecly possible.

Need Your Help

Have the ideas behind the Fast Delegate (et al) been used to optimize std::function?

c++ performance boost c++11 std-function

There have been proposals for C++ "delegates" which have lower overhead than boost::function:

How do I write a Data.Vector.Unboxed instance in Haskell?

haskell typeclass unboxing

I've got a numeric application that does a lot of work with negative logs of probabilities, which (since probabilities range from zero to one) take the values of positive doubles, or negative infin...