4 Copyright (c) 2013 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
8 This example demostrates how to access CRX file system. The plugin will
9 return the content of the given file to the page to display.
11 Since the API is for CRX file system, you need to package this example
12 directory into a .crx to load, or simply click "Load unpacked extension" in
13 chrome://extensions/ with "Developer mode" checked.
16 <title>CrxFs Example
</title>
17 <script src=
"crxfs.js"></script>
22 <button id=
"start">Open
</button>
23 <input type=
"text" id=
"filename" value=
"/manifest.json"></input>
24 <object id=
"plugin" type=
"application/x-ppapi-example-crxfs"
28 <textarea id=
"content" style=
"width: 80%; height: 300px;">