W3cubDocs

/Support Tables

Synchronous Clipboard API

API to provide copy, cut and paste events as well as provide access to the OS clipboard.

Spec https://www.w3.org/TR/clipboard-apis/
Status W3C Working Draft
IE Edge Firefox Chrome Safari Opera
      108 (7)    
    107 (6) 107 (7) TP  
    106 (6) 106 (7) 16.1  
11 (1,2,5) 105 (7) 105 (6) 105 (7) 16.0 91 (7)
10 (1,2,5) 104 (7) 104 (6) 104 (7) 15.6 90 (7)
9 (1,2,5) 103 (7) 103 (6) 103 (7) 15.5 89 (7)
8 (1,2,5) 102 (7) 102 (6) 102 (7) 15.4 88 (7)
Show all
7 (1,2,5) 101 (7) 101 (6) 101 (7) 15.2-15.3 87 (7)
6 (1,2,5) 100 (7) 100 (6) 100 (7) 15.1 86 (7)
5.5 (1,2,5) 99 (7) 99 (6) 99 (7) 15 85 (7)
  98 (7) 98 (6) 98 (7) 14.1 84 (7)
  97 (7) 97 (6) 97 (7) 14 83 (7)
  96 (7) 96 (6) 96 (7) 13.1 82 (7)
  95 (7) 95 (6) 95 (7) 13 81 (7)
  94 (7) 94 (6) 94 (7) 12.1 80 (7)
  93 (7) 93 (6) 93 (7) 12 79 (7)
  92 (7) 92 (6) 92 (7) 11.1 (2,5) 78 (7)
  91 (7) 91 (6) 91 (7) 11 (2,5) 77 (7)
  90 (7) 90 (6) 90 (7) 10.1 (2,5) 76 (7)
  89 (7) 89 (6) 89 (7) 10 (2,5) 75 (7)
  88 (7) 88 (6) 88 (7) 9.1 (2,3,5) 74 (7)
  87 (7) 87 (6) 87 (7) 9 (2,3,5) 73 (7)
  86 (7) 86 (6) 86 (7) 8 (2,3,5) 72 (7)
  85 (7) 85 (6) 85 (7) 7.1 (2,3,5) 71 (7)
  84 (7) 84 (6) 84 (7) 7 (2,3,5) 70 (7)
  83 (7) 83 (6) 83 (7) 6.1 (2,3,5) 69 (7)
  81 (7) 82 (6) 81 (7) 6 (2,3,5) 68 (7)
  80 (7) 81 (6) 80 (7) 5.1 (2,3,5) 67 (7)
  79 (7) 80 (6) 79 (7) 5 (2,3,5) 66 (7)
  18 (2) 79 (6) 78 (7) 4 (2,3,5) 65 (7)
  17 (2) 78 (6) 77 (7) 3.2 64 (7)
  16 (1,2,5) 77 (6) 76 (7) 3.1 63 (7)
  15 (1,2,5) 76 (6) 75 (7)   62 (7)
  14 (1,2,5) 75 (6) 74 (7)   60 (7)
  13 (1,2,5) 74 (6) 73 (7)   58 (7)
  12 (1,2,5) 73 (6) 72 (7)   57 (7)
    72 (6) 71 (7)   56 (7)
    71 (6) 70 (7)   55 (7)
    70 (6) 69 (7)   54 (7)
    69 (6) 68 (7)   53 (7)
    68 (6) 67 (7)   52 (7)
    67 (6) 66 (7)   51 (7)
    66 (6) 65 (7)   50 (7)
    65 (6) 64 (7)   49 (7)
    64 (6) 63 (7)   48 (7)
    63 (6) 62 (7)   47 (7)
    62 (6) 61 (7)   46 (7)
    61 (6) 60 (7)   45 (7)
    60 (6) 59 (7)   44 (5,7)
    59 (6) 58 (7)   43 (5,7)
    58 (6) 57 (5,7)   42 (5,7)
    57 (6) 56 (5,7)   41 (5,7)
    56 (6) 55 (5,7)   40 (5,7)
    55 (6) 54 (5,7)   39 (5,7)
    54 (6) 53 (5,7)   38 (5,7)
    53 (6) 52 (5,7)   37 (5,7)
    52 (6) 51 (5,7)   36 (5,7)
    51 (6) 50 (5,7)   35 (5,7)
    50 (6) 49 (5,7)   34 (5,7)
    49 (6) 48 (5,7)   33 (5,7)
    48 (6) 47 (5,7)   32 (5,7)
    47 (6) 46 (5,7)   31 (5,7)
    46 (6) 45 (5,7)   30 (5,7)
    45 (6) 44 (5,7)   29 (3,5)
    44 (6) 43 (5,7)   28 (3,5)
    43 (6) 42 (3,5)   27 (3,5)
    42 (6) 41 (3,5)   26 (3,5)
    41 (6) 40 (3,5)   25 (3,5)
    40 (2,3) 39 (3,5)   24 (3,5)
    39 (2,3) 38 (3,5)   23 (3,5)
    38 (2,3) 37 (3,5)   22 (3,5)
    37 (2,3) 36 (3,5)   21 (3,5)
    36 (2,3) 35 (3,5)   20 (3,5)
    35 (2,3) 34 (3,5)   19 (3,5)
    34 (2,3) 33 (3,5)   18 (3,5)
    33 (2,3) 32 (3,5)   17 (3,5)
    32 (2,3) 31 (3,5)   16 (3,5)
    31 (2,3) 30 (3,5)   15 (3,5)
    30 (2,3) 29 (3,5)   12.1 (3)
    29 (2,3) 28 (3,5)   12
    28 (2,3) 27 (3,5)   11.6
    27 (2,3) 26 (3,5)   11.5
    26 (2,3) 25 (3,5)   11.1
    25 (2,3) 24 (3,5)   11
    24 (2,3) 23 (3,5)   10.6
    23 (2,3) 22 (3,5)   10.5
    22 (2,3) 21 (3,5)   10.0-10.1
    21 20 (3,5)   9.5-9.6
    20 19 (3,5)   9
    19 18 (3,5)    
    18 17 (3,5)    
    17 16 (3,5)    
    16 15 (3,5)    
    15 14 (3,5)    
    14 13 (3,5)    
    13 12    
    12 11    
    11 10    
    10 9    
    9 8    
    8 7    
    7 6    
    6 5    
    5 4    
    4      
    3.6      
    3.5      
    3      
    2      
Safari on iOS Opera Mini Android Browser Blackberry Browser Opera Mobile Android Chrome Android Firefox IE Mobile Android UC Browser Samsung Internet QQ Browser Baidu Browser KaiOS Browser
16.1                        
16.0 all 105 (2) 10 (2,5) 64 (2) 105 (7) 104 (4) 11 13.4 (7) 18.0 (7) 13.1 (7) 13.18 (7) 2.5 (6)
15.6   4.4.3-4.4.4 (2,5) 7 12.1     10   17.0 (7)      
15.5   4.4 (2,5)   12         16.0 (7)      
15.4   4.2-4.3   11.5         15.0 (7)      
Show all
15.2-15.3   4.1   11.1         14.0 (7)      
15.0-15.1   4   11         13.0 (7)      
14.5-14.8   3   10         12.0 (7)      
14.0-14.4   2.3             11.1-11.2 (7)      
13.4-13.7   2.2             10.1 (7)      
13.3   2.1             9.2 (7)      
13.2                 8.2 (7)      
13.0-13.1                 7.2-7.4 (7)      
12.2-12.5                 6.2-6.4 (5)      
12.0-12.1                 5.0-5.4 (5)      
11.3-11.4 (2,3,5)                 4 (2,5)      
11.0-11.2 (2,3,5)                        
10.3 (2,3,5)                        
10.0-10.2 (2,3,5)                        
9.3 (2,3,5)                        
9.0-9.2 (2,3,5)                        
8.1-8.4 (2,3,5)                        
8 (2,3,5)                        
7.0-7.1 (2,3,5)                        
6.0-6.1 (2,3,5)                        
5.0-5.1 (2,3,5)                        
4.2-4.3                        
4.0-4.1                        
3.2                        

Notes

Internet Explorer will display a security prompt for access to the OS clipboard.

Chrome 42+, Opera 29+ and Firefox 41+ support clipboard reading/writing only when part of a user action (click, keydown, etc).

  1. Only supports Text and URL data types and uses a non-standard method of interacting with the clipboard.

  2. Only fires copy event on a valid selection and only cut and paste in focused editable fields.

  3. Only supports OS clipboard reading/writing via shortcut keys, not through document.execCommand().

  4. Only supports paste event (on focused editable field).

  5. Does not support the ClipboardEvent constructor

  6. Supports cut & copy events without a focused editable field, but not paste (presumably for security reasons)

  7. Supports cut & copy events without a focused editable field, but does not fire paste with document.execCommand('paste')

Bugs

  • Before Firefox 41, queryCommandEnabled and execCommand with arguments cut, copy or paste would throw errors instead of return false.

Resources

Data by caniuse.com
Licensed under the Creative Commons Attribution License v4.0.
https://caniuse.com/clipboard