Tuesday, 4 April 2017

Using Trident (IE) in Electron/Node.js - cross-platform possible?

I know that it's possible to load mshtml.dll and get access to the Trident rendering engine in a Node.js/Electron app, as I've seen others on this site answer that question before. In doing so, however, does that restrict the app to being strictly Windows-only? I feel that this is the case since I'm fairly certain mshtml.dll isn't a .NET DLL, and it would take a whole emulation layer (e.g. WINE) to run the DLL code on macOS or any Linux distro as opposed to a natively-compiled .NET interpreter.

For context, what I'm looking for is the ability for an app that generates some HTML/Javascript to be able to allow the user to preview the output in the rendering engine of choice (i.e. Trident/IE, Webkit/Chrome/Safari, Gecko/Firefox) since it can't be guaranteed that the end-user will be using up-to-date browsers, and I would like the app to be usable on any workstation regardless of OS.



via p0lar_bear

No comments:

Post a Comment