Applies to: SharePoint Foundation 2010
A Netscape Plug-in Application Programming Interface (NPAPI) plug-in that enables Microsoft SharePoint Foundation 2010 users to open and edit documents using Microsoft Office applications from a Mozilla Firefox web browser.
The implementation of this plug-in is defined in NPSPWRAP.dll, a dynamic link-library (DLL) that is installed in the %ProgramFiles%\Microsoft Office\Office14\ directory on the client computer during Microsoft Office 2010 Setup. Its purpose is similar to that of the OpenDocuments control, except that it is designed to work in a Firefox web browser. For more information, see OpenDocuments Control.
In SharePoint Foundation, you add the control to a webpage by calling the CreateFirefoxOnWindowsPlugin function in the INIT.js. This call adds an OBJECT element to the Document Object Model (DOM) of the hosting page using application/x-sharepoint as the value of the type property. This is the MIME type of the plug-in. The following example shows the resulting markup.
<object id="winFirefoxPlugin" type=”application/x-sharepoint" width="0" height="0" style=”visibility: hidden;”>