BUNDLEWARE

context.fetch

Context

Downloads from a host named in the header's @connect lines: an HTTPS URL, up to 4 MiB in 20 seconds, with no cookies or referrer. Supply the final URL; HTTP redirects are rejected. The extension makes the request, so the page's content security policy does not apply.

Signaturecontext.fetch(url: string, options?: FetchOptions): Promise<FetchResult>
Take it fromconst { fetch } = useToolbar();

Parameters

ParameterTypeDescription
urlstring
optionsFetchOptionsOptional.

Return Value

TypePromise<FetchResult>

Availability

Bundleware1.0.1, build 2026.12.02