Documentation
    Preparing search index...

    Function injectPajaRuntimeCsp

    • Inject Kehto's Class-1 CSP for verified runtime-pointer srcdoc output. Delegates to the shell policy, which enforces NIP-5D CSP recommendations.

      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.