It is clear that activex is only for Windows. It also seems pretty sure that Linux will now give any permission to download anything in background automatically.
But is there any way to access .SO files function from javascript.

What we do in linux is, we make a DLL using COM and we put is client's pc using IE browser and then we call the C/C++ functions available in DLL using Javascript. We use javacsript's activexObject() function to load that DLL.

Now please anyone help me that how can i call C/C++ 's functions from javascript. Is there any way?