Provides access to global proxy settings for Firefox and proxy event listeners to handle dynamic proxy implementations.

Permissions: proxy

Not allowed in: Content scripts, Devtools pages

_OnRequestDetails
_ProxyOnRequestEvent
ProxyConfig
_ProxyConfigProxyType
onError
onRequest
settings
_ProxyConfigProxyType:
    | "none"
    | "autoDetect"
    | "system"
    | "manual"
    | "autoConfig"

The type of proxy to use.

onError: WebExtEvent<(error: Error) => void>

Notifies about errors caused by the invalid use of the proxy API.

Fired when proxy data is needed for a request.

settings: Setting

Configures proxy settings. This setting's value is an object of type ProxyConfig.