edge浏览器怎么设置activex,Microsoft Edge中是否有ActiveX的替代方案?

Microsoft has announced the Edge browser, which does not support ActiveX.

I have an app that needs to get info from the Windows registry, so I have some questions about alternatives to ActiveX:

Is there a way to communicate with a native app (that can read from the Windows registry) from Edge or something similar (like native messaging in Chrome)?

Is there a way to directly access the Windows registry from Edge, Javascript, or the like?

解决方案

Currently I see no way for you to access the registry from a web application running in MS Edge. If you just need to save information there are different alternatives you can chose from to enable similar capabilities.

You could use storage options available with HTML/JS like webStorage or indexedDB. They are both available in all modern browsers and could be used to to save data on the client.

If the application supposed to be available just on Windows 10 you might think about builing a hosted web app (http://blogs.windows.com/buildingapps/2015/07/06/project-westminster-in-a-nutshell/) This technology eables you to access some features of the Windows operating system, but not the registry.

If your app is highly dependent on ActiveX and the Windows registry you can still use Internet Explorer 11 in Windows 10.

THE END
< <上一篇
下一篇>>