<- Chrome Settings Library

CopyPreventionSettings

Allows blocking copying to the clipboard on specified URLs
Last updated October 8, 2024
Deprecated

This policy is deprecated and will eventually be replaced by DataControlsRules. This policy blocks copying data to the clipboard on specific URLs. The enable and disable URL lists control which sites are allowed to write to the clipboard. A clipboard write is blocked if the URL matches a pattern in 'enable' and doesn't match a pattern in 'disable'. A copy is not blocked if the URL does not match any pattern. The origin matching patterns use a similar format to those for the 'URLBlocklist' policy, which are documented at https://support.google.com/chrome/a?p=url_blocklist_filter_format. The minimum_data_size indicates the minimum amount of data in bytes that triggers the pattern check. This means that a clipboard write from a blocked URL would be allowed if the size of the copied data is smaller than the value specified in this field. The default value is 100 bytes if the field is unset.

Supported On:
Platform Start End
Chrome (Windows, Mac, Linux) 108
ChromeOS 108
Example value:

{"enable":{"0":"*"},"disable":{"0":"not-sensitive.example.com"},"minimum_data_size":100}

Features: