createObjectURL

The createObjectURL() static method of the URL interface creates a string containing a blob URL pointing to the object given in the parameter.

MDN Reference