网景插件应用程序接口(英语:Netscape Plugin Application Programming Interface,缩写:NPAPI)是一个跨平台的通用浏览器插件应用程序接口(API)。1995年由网景公司发布,应用于网景导航者2.0版本,但其他浏览器很快也跟进支持,成为一个共通的插件标准,与微软的ActiveX形成竞争关系[1]。
每个插件声明自己支持某一种或几种内容类型(例如“audio/mp3”),当浏览器遇到这种类型的内容时,便在插件库寻找一种能够解码的插件,将这部分内容交由其解析,并在网页对应的位置中显示出来。
正是由于其跨浏览器的特性,插件库的内容更新及管理一般不是由浏览器而是由各个插件提供商自行维护的。这个特点引发了一些安全性上的疑虑[2]。随着HTML5的出现,以及安全原因,现今所有主流的浏览器都取消了对第三方NPAPI插件的支持。一些小众的浏览器,例如Pale Moon和Waterfox Classic,仍然支持NPAPI插件。
2014年11月,Google宣布Chrome将于2015年1月默认屏蔽NPAPI插件,9月份会完全移除支持,以鼓励开发者和用户转用HTML5、Chrome API或Google Native Client等新技术取代NPAPI[3][4]。虽然Google曾经提出了名为PPAPI(Pepper Plugin API)的解决方案,但没有得到其它厂商的普遍支持[5][6]。
2021年1月,Mozilla宣布Firefox完全移除NPAPI插件支持[7][8]。
参考资料
|
---|
Mozilla Labs项目 | |
---|
Mozilla Research项目 | |
---|
产品 |
|
---|
附属机构 | |
---|
社群 | 本地社区 |
- MozTW
- Mozilla China Community
- WebDINO Japan
|
---|
|
---|
人物 | |
---|
相关 | |
---|
|
|
---|
网页浏览器 | |
---|
电邮客户端 | |
---|
其他组件 | |
---|
伺服器软件 | |
---|
互联网服务 | |
---|
人物 | |
---|
相关 | |
---|
|