Documentation
    Preparing search index...

    Function injectPajaRuntimeCsp

    • Inject Kehto's Class-1 CSP for verified runtime-pointer srcdoc output. NIP-5D mandates the verified srcdoc and opaque sandbox, but this baseline CSP is Kehto policy rather than a protocol requirement.

      Parameters

      • html: string

        Verified target HTML.

      • origins: readonly string[]

        Origins the resolved target may connect to.

      Returns string

      HTML with a CSP meta tag inserted.