Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,20 @@ Values of this type are objects. They contain the following properties:
- `"direct"`: don't proxy the request. If this value is given, all other properties of this object are ignored. However, this setting doesn't override any [proxy set by the user](https://support.mozilla.org/en-US/kb/connection-settings-firefox). Use {{WebExtAPIRef("proxy.settings")}} to check whether a manual proxy is being used and, if necessary, monitor those settings for changes using [`BrowserSetting.onChange`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/types/BrowserSetting/onChange).
- `"http"`: HTTP proxy (or SSL CONNECT for HTTPS)
- `"https"`: HTTP proxying over TLS connection to proxy
- `"masque"`: MASQUE (Multiplexed Application Substrate over QUIC Encryption) proxy
- `"socks"`: SOCKS v5 proxy
- `"socks4"`: SOCKS v4 proxy

- `host`
- : `string`. The hostname of the proxy server. Mandatory unless `type` is `"direct"`.
- `port`
- : `number`. The port number of the proxy server. Mandatory unless `type` is `"direct"`.
- `username`
- : `string`. Username for the proxy service. This is usable with "socks". For HTTP proxy authorizations, use [`webRequest.onAuthRequired`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onAuthRequired).
- `password`
- : `string`. Password for the proxy service. This is usable with "socks". For HTTP proxy authorizations, use [`webRequest.onAuthRequired`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onAuthRequired).
- `pathTemplate`
- : `string`. The path template. Must be set when the proxy type is `"masque"`, otherwise it's ignored.
- `username` {{optional_inline}}
- : `string`. Username for the proxy service. This is usable with "socks". For HTTP proxy authorizations, use [`webRequest.onAuthRequired`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onAuthRequired). Must not be set when proxy is `"masque"`.
- `password` {{optional_inline}}
- : `string`. Password for the proxy service. This is usable with "socks". For HTTP proxy authorizations, use [`webRequest.onAuthRequired`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onAuthRequired). Must not be set when proxy is `"masque"`.
- `proxyDNS`
- : `boolean`. If true, the proxy server is used to resolve certain DNS queries (only usable with `"socks4"` and `"socks"`). Defaults to `false`.
- `failoverTimeout`
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/145/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Firefox 145 is the current [Nightly version of Firefox](https://www.firefox.com/
## Changes for add-on developers

- Cookies created with {{WebExtAPIRef("cookies.set()")}} are now validated, and invalid cookies are rejected. This change was implemented in Nightly only from Firefox 142. ([Firefox bug 1976509](https://bugzil.la/1976509))
- The {{WebExtAPIRef("proxy")}} API adds support for MASQUE (Multiplexed Application Substrate over QUIC Encryption) proxies. ([Firefox bug 1988988](https://bugzil.la/1988988))

<!-- ### Removals -->

Expand Down