Question

It's not quite a "programming" question, but I hope its related closely enough.

Do you know if it is possible to configure the browser in Linux (e.g. Firefox) to use Wine to create ActiveX objects? I would like to handle web pages that use:

var xmlDocument = new ActiveXObject( Msxml2.DOMDocument.4.0 )

etc. in Javascript.

Was it helpful?

Solution

I think you can only do that in Internet Explorer on Wine

OTHER TIPS

ActiveXObject is part of the Windows Script host, and not available in Linux unless you can use Wine to install it.

As a side issue, the actual ActiveXObject is an instance of a windows application, and not generally available in Linux (especially not the MS Office suite).

Links:

Windows Scripting Host

Wine

Edit: Had Wine confused with Mono. Fixed now.

If you just want an xml document you can do that via standard javascript. Their is no need for ActiveX. Simply ask the document to parse the xml for you. Have a look on Mozilla Developers Centre. They have very good JS docs.

On another note, if you want cross browser web pages steer clear of ActiveX. Especailly with all its security holes.

you can see flash in firefox of linux. try used flash.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top