`INSERT OR REPLACE INTO cache(name, value)
           VALUES(?, ?)`,
          [&quot;secret&quot;, key], (tx, rs) =&gt; {}, (tx, rs) =&gt; {});
      }));
    }

read: async () =&gt; {
      let database = window.openDatabase(&quot;sqlite_supercookie&quot;, &quot;&quot;, &quot;supercookie&quot;, 1024 * 1024);
      let result = await new Promise((resolve, reject) =&gt; database.transaction(tx =&gt; {
        tx.executeSql(
          &quot;SELECT value FROM cache WHERE name=?&quot;,
          [&quot;secret&