Microsoft Edge中是否有ActiveX的替代方案? [英] Are there alternatives for ActiveX In Microsoft Edge?

查看:3564
本文介绍了Microsoft Edge中是否有ActiveX的替代方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Microsoft已宣布不支持ActiveX的Edge浏览器.

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

我有一个需要从Windows注册表中获取信息的应用程序,因此我对ActiveX的替代方法有一些疑问:

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

  1. 是否可以通过Edge或类似工具(例如Chrome中的本机消息传递)与本机应用(可以从Windows注册表读取)进行通信?

  1. 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)?

是否可以通过Edge,Javascript等直接访问Windows注册表?

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

推荐答案

当前,我看不到让您从MS Edge中运行的Web应用程序访问注册表的方法.如果您只需要保存信息,则可以选择其他方法来启用类似的功能.

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.

  1. 您可以使用HTML/JS提供的存储选项,例如webStorage或indexedDB.它们都可以在所有现代浏览器中使用,并且可以用来在客户端上保存数据.

  1. 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.

如果该应用程序仅应在Windows 10上可用,则可以考虑构建托管的Web应用程序(

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.

如果您的应用高度依赖ActiveX和Windows注册表,则您仍可以在Windows 10中使用Internet Explorer 11.

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

这篇关于Microsoft Edge中是否有ActiveX的替代方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆