AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface CopyPermissions

    Control copy operations for a matched URL.

    interface CopyPermissions {
        behavior: "allow" | "block" | "protect";
        options?: { replacementText: string };
    }
    Index
    behavior: "allow" | "block" | "protect"

    Controls the behavior for copy operations for a matched URL.

    allow: Enables all copy operations. block: Disables all copy operations. protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.

    'allowed'
    
    options?: { replacementText: string }

    Additional copy operation options

    Type Declaration

    • 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.

      ''