IE中可以在HTML页面中使用function test()
{
var objTest;
try
{
objTest = new ActiveXObject("test.test");
alert("Object created");
}
catch(objError)
{
alert("Fail to create object. error:" + objError.description);
}}的方式建立实例并取得错误码.但在Netscape中好象并不支持ActiveX对象.问一下各位是否有一种简单的方法实现在Netscape中创建ActiveX对象,而不需要重新为Netscape写一个PlugIn?
{
var objTest;
try
{
objTest = new ActiveXObject("test.test");
alert("Object created");
}
catch(objError)
{
alert("Fail to create object. error:" + objError.description);
}}的方式建立实例并取得错误码.但在Netscape中好象并不支持ActiveX对象.问一下各位是否有一种简单的方法实现在Netscape中创建ActiveX对象,而不需要重新为Netscape写一个PlugIn?
http://www.iol.ie/~locka/mozilla/mozilla.htm......
Mozilla ActiveX Control
Embed the Mozilla browser engine (Gecko) into any ActiveX application. This control implements the same APIs as the Internet Explorer control making porting of existing applications reasonably straightforward. ActiveX Control For Plugins
Embed plugins in any ActiveX application. This control can host most Netscape Plugin API (LiveConnect) plugins, allowing them to use them in your existing ActiveX applications, including Internet Explorer. Plugin For ActiveX controls
Embed ActiveX controls in any NP API application. This plugin hosts ActiveX controls allowing them to be used in browser such as Netscape 4.x/6.x, Mozilla and Opera.