AboutSupportDeveloper GuideVersion 41.131.100.44
CopyPermissions: {
    behavior: "allowed" | "blocked" | "protected";
    options?: {
        replacementText: string;
    };
}

Control copy operations for a matched URL.

Type declaration

  • behavior: "allowed" | "blocked" | "protected"
    'allowed'

    Controls the behavior for copy operations for a matched URL.

    allowed: Enables all copy operations.
    blocked: Disables all copy operations.
    protected: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
  • Optionaloptions?: {
        replacementText: string;
    }

    Additional copy operation options

    • replacementText: string
      ''

      When setting behavior = 'protected' , this string will be pasted to other applications that do not have a matching URL instead of the original content.