![](./assets/img/Icon-256x256.png)
NaCL Detector API
Native Client plugin detector
Introduction
Introducing, NaCL Detector API! This package is designed to make it easy for developers to ensure that Chrome's Native Client plugin in enabled for use in their web applications.
Features of this API package include:
- Checking of an outdated Chrome version
- NaCL plugin support
- Supported browser detecting
- Use of a server or running the API offline
Getting Started
To get started with this API, simply follow these steps:
- Open a terminal or shell instance of your choice.
- Type: npm install nacl-check
- Copy all of the text inside the file labeled COPYING
- OR insert the following directly into your HTML
- <div id="Check-div">
- <h3 id="checker">Checking browser compatibility, please wait...>
- </div>
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/MagnusMarx/NaCL/check.css">
- <script src="https://cdn.jsdelivr.net/gh/MagnusMarx/NaCL/check_browser.js"></script>
- <script src="https://cdn.jsdelivr.net/gh/MagnusMarx/NaCL/js/check.js"></script>
If you have any questions or issues, please don't hesitate to reach out to our support team via email.
Examples
Here is an example of this API:
Checking browser compatibility, please wait...
A live example is also available here.