Documentation
    Preparing search index...

    Function renderNappletReferrerPolicyMeta

    • Render the host-page <meta> element that sets NAPPLET_REFERRER_POLICY for the page and the srcdoc documents it embeds. It also drops the Referer header from the host page's own requests.

      Returns string

      The meta element HTML

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