如何开发具有跨平台和跨浏览器兼容性的浏览器插件?

发布于 2024-08-27 01:27:38 字数 391 浏览 5 评论 0原文

我的公司目前有一款产品依赖于自定义的内部 ActiveX 控件。它采用的技术本身在设计上就是跨平台的,但我们的解决方案显然仅限于 Windows 上的 Internet Explorer。

长远来看我们希望成为跨浏览器和跨平台的(即支持Windows上的其他浏览器,支持Macintosh或Linux)。

显然,如果我们想在 Windows 上支持 Firefox,我需要为其编写一个插件。但如果我们想支持 Macintosh,我该如何应对呢?是否可以编译一个在 Mac 上运行的 Firefox 插件版本?如果我不支持 Mac 上的 Safari,会不会是我的失职?有没有跨平台的跨浏览器插件? (即,任何浏览器都可以运行其他浏览器的插件)

当人们想要使用需要跨平台和跨浏览器兼容的进程来支持多个平台时,通常会做什么?

My company currently has a product which relies on a custom, in-house ActiveX control. The technology it employs is itself cross-platform by design, but our solution is obviously limited to Internet Explorer on Windows.

Long term we would like to become cross-browser and cross-platform (i.e., support other browsers on Windows, support the Macintosh or Linux).

Obviously if we wanted to support Firefox on Windows I would need to write a plugin for it. But if we wanted to support the Macintosh, how do I attack that? Is it possible to compile a version of the Firefox plugin that runs on the Mac? Would I be remiss to not also support Safari on the Mac? Are there any plugins which are cross-browser on a platform? (i.e., can any browsers run plugins for other browsers)

What do people generally do when they want to support multiple platforms with a process that will need to be cross-platform and cross-browser compatible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

紙鸢 2024-09-03 01:27:38

答案是firebreath

The answer is firebreath

山川志 2024-09-03 01:27:38

您也可以尝试 kango

You could also try kango

黯然#的苍凉 2024-09-03 01:27:38

也许 FireBreath 是您不错的选择!我刚刚在vs2010上编译了一个测试插件,它兼容IE9、Firefox和google chrome。

Maybe FireBreath is a good choice for you! I just compile a test plugin on vs2010 and it's compatible with IE9, Firefox and google chrome.

终陌 2024-09-03 01:27:38

我会考虑将 Java 与本机库一起使用。我很长时间以来就看到视频聊天是这样发展起来的。 Applet 包含每个受支持平台的本机代码。我不是java程序员,我不能告诉你细节,但它确实有效。

I would consider using Java with native libraries. Long time age I've seen video chat developed in such way. Applet included native code for every supported platform. I'm not a java programmer, I can't tell you details, but it worked.

怂人 2024-09-03 01:27:38

在 Windows 上使用 COM,在 Firefox/Linux 上使用 XPCOM/Corba。

use COM on Windows and XPCOM/Corba in Firefox/Linux.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文