blob: 05c66a7ff76791c747c750b380409e6c9a60b8d9 [file] [log] [blame]
<!DOCTYPE html>
<html>
<!--
Copyright (c) 2013 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
This example demostrates how to access CRX file system. The plugin will
return the content of the given file to the page to display.
Since the API is for CRX file system, you need to package this example
directory into a .crx to load, or simply click "Load unpacked extension" in
chrome://extensions/ with "Developer mode" checked.
-->
<head>
<title>CrxFs Example</title>
<script src="crxfs.js"></script>
</head>
<body>
<button id="start">Open</button>
<input type="text" id="filename" value="/manifest.json"></input>
<object id="plugin" type="application/x-ppapi-example-crxfs"
width="1" height="1">
</object>
<br>
<textarea id="content" style="width: 80%; height: 300px;">
(output space)
</textarea>
</body>
</html>