DeveloperToolsAvailability

Control where Developer Tools can be used

Supported on:

  • Chrome (Windows) since version 68

Description:

Setting the policy to 0 (the default) means you can access the developer tools and the JavaScript console, but not in the context of extensions installed by enterprise policy or, since version 114 and if this is a managed user, extensions built into the browser. Setting the policy to 1 means you can access the developer tools and the JavaScript console in all contexts, including that of extensions installed by enterprise policy. Setting the policy to 2 means you can't access developer tools, and you can't inspect website elements.

This setting also turns off keyboard shortcuts and menu or context menu entries to open developer tools or the JavaScript console.

As of Samsung Browser version 99, this setting also controls entry points for the 'View page source' feature. If you set this policy to 'DeveloperToolsDisallowed' (value 2), users cannot access source viewing via keyboard shortcut or the context menu. To fully block source viewing, you must also add 'view-source:*' to the URLBlocklist policy.

As of Samsung Browser version 119, this setting also controls whether developer mode for Isolated Web Apps can be activated and used.

As of Samsung Browser version 128, this setting will not control developer mode on extensions page if ExtensionDeveloperModeSettings policy is set.

The availability of Developer Tools is determined in the following order of precedence:

  1. If a URL matches a pattern in the DeveloperToolsAvailabilityAllowlist policy, Developer Tools are allowed.
  2. If the DeveloperToolsAvailabilityAllowlist is set and the DeveloperToolsAvailabilityBlocklist is not, any URL not on the allowlist is blocked.
  3. If a URL matches a pattern in the DeveloperToolsAvailabilityBlocklist policy, Developer Tools are blocked.
  4. If a URL is not covered by the allowlist or blocklist, this policy (DeveloperToolsAvailability) is the fallback.

0 = Disallow usage of the Developer Tools on apps and extensions installed by enterprise policy or, since version 114 and if this is a managed user, extensions built into the browser. Allow usage of the Developer Tools in other contexts
1 = Allow usage of the Developer Tools
2 = Disallow usage of the Developer Tools

Supported features:

  • Applied to browser without restart. Note that some ongoing tasks may not be affected.
  • Applied at Samsung Browser profile level.

Data type:

Integer
Windows:REG_DWORD

Windows registry location:

Software\Policies\Samsung\Internet\DeveloperToolsAvailability

Example value:

0x00000002

More policies under Miscellaneous: