# ns4plugins module

Copyright (C) 1995-2011 Opera Software AS. All rights reserved. This file is part of the Opera web browser. It may not be distributed under any circumstances.

## Introduction

The ns4plugins module implements support for loading Mozilla plugins in the browser and scripting of plugin objects from Javascript.

## NPAPI

Opera uses NPAPI plugins and include NPAPI header files on certain platforms. As noted in opera:about for those builds, the modified MPL 1.1 Licensed NPAPI header files needed to build Opera are made available on Opera's sourcecode server. The files are currently npapi.h, npfunctions.h and nptypes.h. The licensed files are modified by changing and running the patch.sh script. Whenever committing changes of the MPL licensed header files to git, the corresponding files on the sourcecode server should be updated as well. Updating files requires ssh access to the server (contact sysadmin), alternatively contact the ns4plugins module owner, see module.about.

The NPAPI git repository on the sourcecode server is located in

- ssh://pub4.opera.com/var/www/sourcecode.opera.com/npapi/npapi.git

It was created with the following commands on the server:

- cd /var/www/sourcecode.opera.com/
- mkdir npapi
- cd npapi
- mkdir npapi.git
- cd npapi.git
- git init --bare

The local repository containing the modified files were then pushed to the server with the following commands:

- git remote add public ssh://pub4.opera.com/var/www/sourcecode.opera.com/npapi/npapi.git
- git push -u public local_git_rep:master

## Memory documentation

Is found here.

## Memos

- Opera Plug-in API on Symbian Platform for Rubik