Estoy buscando una manera de interceptar los mensajes de error de integridad de subrecursos que se generan cuando los valores hash de integridad no son válidos. ¿Hay alguna forma de interceptar estos eventos usando JavaScript en la página o detectar si un nodo tiene una propiedad de integrity
no válida?
Por ejemplo estos mensajes de error:
None of the “sha384” hashes in the integrity attribute match the content of the sub-resource.
Failed to find a valid digest in the 'integrity' attribute for resource 'http://path/to/file' with computed SHA-256 integrity '[hash]'. The resource has been blocked.