A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL below:

URL: createObjectURL() static method - Web APIs

URL: createObjectURL() static method

Baseline Widely available

Note: This feature is available in Web Workers, except for Service Workers.

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

For more information, see blob URLs.

To release an object URL, call revokeObjectURL().

Note: This feature is not available in Service Workers due to its potential to create memory leaks.

Syntax
URL.createObjectURL(object)
Parameters
object

A Blob (such as a File) or MediaSource object to create an object URL for.

Return value

A string containing an object URL that can be used to reference the contents of the specified source object.

Examples

See Using object URLs to display images.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4