</h1> <h2>Status: <code id="statusField">NO-STATUS</code></h2> <textarea id="file_editor" cols="40" rows="10" wrap="hard" placeholder="Enter some text to save in a file..."></textarea> <br>File Name <input type="text" id="file_name" action=""> <button id="save_but" onclick="saveFile()" action="">Save</button> <button id="load_but" onclick="loadFile()" action="">Load</button> <button id="delete_but" onclick="deleteFile()" action="">Delete</button> <!-- The NaCl plugin will be embedded inside the element with id "listener". See common.js.--> <div id="listener"> <script type="text/javascript"> window.webkitStorageInfo.requestQuota(window.PERSISTENT, 1024*1024, function(bytes) { common.updateStatus( 'Allocated '+bytes+' bytes of persistant storage.'); common.createNaClModule('<NAME>', '<tc>', 200, 200); common.attachDefaultListeners(); }, function(e) { alert('Failed to allocate space') }); </script> </div> </body> </html>