跨浏览器扩展开发框架

Cross browser extension development framewok


我正在评估跨浏览器扩展的开发(支持的浏览器 IE、Chrome、Safari 和 Firefox):我正在寻找一个跨浏览器开发框架,以避免代码重复并加快构建过程.
我查看了这个 question,并访问了建议的网站:每家公司似乎都已停止开发该产品。
我也读过这个 article,其结论似乎劝阻开发人员构建跨浏览器扩展。
所以,我有几个问题:
- 你们中有人推荐适合我上述目的的跨浏览器扩展开发框架吗?
- 上述框架不再维护的原因是什么?
- 有没有人发现一种更有效的方法来实现相同的目标而不开发浏览器扩展?

非常感谢,
丹妮尔

我还没有测试过,但是Firefox WebExtensions seems to be best choice. Yes, you must make some changes to code,但通常情况下还不错。

WebExtensions APIs are inspired by the existing Google Chrome extension APIs, and are supported by Opera, Firefox, and Microsoft Edge. We’re working to standardize these existing APIs as well as proposing new ones! Our goal is to make extensions as easy to share between browsers as the pages they browse, and powerful enough to let people customize their browsers to match their needs.