Documentation
    Preparing search index...

    Function denyNappletReferrer

    • Set referrerpolicy="no-referrer" on a napplet iframe. Call it before assigning srcdoc: the policy applies to the navigation that creates the napplet document. Pair it with renderNappletReferrerPolicyMeta, because WebKit ignores the attribute for srcdoc documents.

      Parameters

      • frame: Pick<HTMLIFrameElement, "setAttribute">

        Host-owned iframe, before its napplet document is assigned

      Returns void

      Nothing

      denyNappletReferrer(frame);
      frame.srcdoc = prepareNappletSrcdoc(verifiedHtml, { domains });