MDN self-hosted library · e01.org

browserSettings.tlsVersionRestrictionConfig

A BrowserSetting object used to read the highest and lowest versions of TLS supported by the browser.

Open notebook · 1 cells webextension-api-property upstream source

A BrowserSetting object used to read the highest and lowest versions of TLS supported by the browser.

The object has these properties:

  • minimum
  • : The lowest TLS version supported by the browser. Valid values are TLSv1, TLSv1.1, TLSv1.2, TLSv1.3, and unknown.
  • maximum
  • : The highest TLS version supported by the browser. Valid values are TLSv1, TLSv1.1, TLSv1.2, TLSv1.3, and unknown.

This is a read-only setting.

Examples

Get the highest TLS version supported by the browser:

browser.browserSettings.tlsVersionRestrictionConfig.maximum
  .get({})
  .then((result) => {
    console.log(`Highest TLS version supported: ${result}`);
  });

Browser compatibility