Documentation
    Preparing search index...

    Function findExternalAssetReferences

    • List src/href references that a network-isolated frame cannot load. Only data:, blob:, and fragment references survive the closed CSP.

      Parameters

      • html: string

        HTML document text.

      Returns string[]

      Up to eight distinct references, in document order.

      findExternalAssetReferences('<script src="/main.js"></script>'); // ['/main.js']