mercredi 27 novembre 2019

How to render a .mht file inside an iframe

I want to take a snapshot of a page using headless chrome which will return a file to me, so I am creating an mht file as it will contain more information about the web page. So, now I want to render this snapshot inside an iframe but I am unable to do so.

<iframe src="file:///home/user/untitled1.mht"></iframe>

This is returning an error after it is rendered.

Attempted to load a multipart archive into an subframe



Aucun commentaire:

Enregistrer un commentaire