Documentation
    Preparing search index...

    Function renderNappletFramePolicyMeta

    • Render the host-page <meta> element carrying NAPPLET_FRAME_POLICY. Place it in the host page's <head>; a meta CSP outside <head> is ignored. An equivalent HTTP Content-Security-Policy header works too.

      Returns string

      The meta element HTML

      const head = `<head>${renderNappletFramePolicyMeta()}</head>`;