 {
      try {
        let bc = new BroadcastChannel(&quot;secrets&quot;);
        bc.onmessage = (event) =&gt; {
          if (event.data === &quot;request&quot;) {
            bc.postMessage(secret);
          }
        };
      } catch (e) {
        throw new Error(&quot;Unsupported&quot;);
      }
    }

read: () =&gt;
      new Promise((resolve, reject) =&gt; {
        let bc = new BroadcastChannel(&quot;secrets&quot;);
        bc.onmessage = (event) =&gt; {
          if (event.data !== &quot;request&q