title: How to access Google Chrome's IndexedDB/LevelDB files?
body: <p>I want to use Google Chrome's IndexedDB to persist data on the client-side. </p>
  
  <p>Idea is to access the IndexedDB outside of chrome, via Node.JS, later on. 
  The background is the idea to track usage behaviour locally and store the collected data on the client for later analysis without a server backend. </p>
  
  <p>From my understanding, the indexedDB is implemented as a LevelDB. However, I cannot open the levelDB with any of the tools/libs like <a href="https://github.com/Level/levelup" rel="noreferrer">LevelUp</a>/<a href="https://github.com/Level/leveldown" rel="noreferrer">LevelDown</a> or <a href="https://github.com/nisaacson/leveldb-json" rel="noreferrer">leveldb-json</a>.</p>
  
  <p>I'm always getting this error message:</p>
  
  <pre><code>leveldb-dump-to-json --file test.json --db https_www.reddit.com_0.indexeddb.leveldb
  
  events.js:141
      throw er; // Unhandled 'error' event
          ^   OpenError: Invalid argument: idb_cmp1 does not match existing   comparator : leveldb.BytewiseComparator
        at /usr/local/lib/node_modules/leveldb-  json/node_modules/levelup/lib/levelup.js:114:34 Christians-Air:IndexedDB 
  </code></pre>
  
  <p>Can anybody please help? It seems as if the Chrome implementation is somehow special/different. </p>