chrome.experimental.clipboard
      
        
        
        
        
        
          For information on how to use experimental APIs, see the chrome.experimental.* APIs page.
        
        
        
Notes
For all functions exposed by this API, the argument to the callback indicates
whether or not the event was successfully dispatched, not whether the event was
successfully processed and handled. Most callers won't care, since a failure
generally indicates the tab is going away.
 
        
        
        
        API reference: chrome.experimental.clipboard
          
          
            
            Properties
            
              
              getLastError
              
                
                chrome.extensionlastError
              
              
              
             
            
          
          
            
            Methods
            
            
               
              executeCopy
              void
                  
                  chrome.experimental.clipboard.executeCopy(, integer
                      tabId, function
                      callback)
              
                Undocumented.
                Triggers a copy operation in the specified tab.
                
                Parameters
                
                  
                    
          - 
            tabId
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        integer
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - 
            Description of this parameter from the json schema.
          
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
                   
                    
          - 
            callback
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        function
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - 
            Description of this parameter from the json schema.
          
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
                   
                
                
                Returns
                
                  
                
                
                
                  
                  Callback function
                  
                    The callback parameter should specify a function
                    that looks like this:
                  
                  
                    If you specify the callback parameter, it should
                    specify a function that looks like this:
                  
                  
                  function() {...};
                  
                    
                  
                   
                 
                
                
                  This function was added in version .
                  If you require this function, the manifest key
                  minimum_chrome_version
                  can ensure that your extension won't be run in an earlier browser version.
                
                
             
               
              executeCut
              void
                  
                  chrome.experimental.clipboard.executeCut(, integer
                      tabId, function
                      callback)
              
                Undocumented.
                Triggers a cut operation in the specified tab.
                
                Parameters
                
                  
                    
          - 
            tabId
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        integer
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - 
            Description of this parameter from the json schema.
          
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
                   
                    
          - 
            callback
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        function
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - 
            Description of this parameter from the json schema.
          
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
                   
                
                
                Returns
                
                  
                
                
                
                  
                  Callback function
                  
                    The callback parameter should specify a function
                    that looks like this:
                  
                  
                    If you specify the callback parameter, it should
                    specify a function that looks like this:
                  
                  
                  function() {...};
                  
                    
                  
                   
                 
                
                
                  This function was added in version .
                  If you require this function, the manifest key
                  minimum_chrome_version
                  can ensure that your extension won't be run in an earlier browser version.
                
                
             
               
              executePaste
              void
                  
                  chrome.experimental.clipboard.executePaste(, integer
                      tabId, function
                      callback)
              
                Undocumented.
                Triggers a paste operation in the specified tab.
                
                Parameters
                
                  
                    
          - 
            tabId
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        integer
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - 
            Description of this parameter from the json schema.
          
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
                   
                    
          - 
            callback
              
                
                
                  (
                    
optional
                    enumerated
                    
                      
                         Type
                      
                      
                        
                          array of 
                        
                        function
                        
                      
                    
                  )
                
 
              
           
          - 
            Undocumented.
          
 
          - 
            Description of this parameter from the json schema.
          
 
          - 
            This parameter was added in version
            .
            You must omit this parameter in earlier versions,
            and you may omit it in any version.  If you require this
            parameter, the manifest key
            minimum_chrome_version
            can ensure that your extension won't be run in an earlier browser version.
          
 
          
          - 
            
              
            
           
          
          - 
            
          
 
          
          - 
            
          
 
          
          - 
            
          
 
         
                   
                
                
                Returns
                
                  
                
                
                
                  
                  Callback function
                  
                    The callback parameter should specify a function
                    that looks like this:
                  
                  
                    If you specify the callback parameter, it should
                    specify a function that looks like this:
                  
                  
                  function() {...};
                  
                    
                  
                   
                 
                
                
                  This function was added in version .
                  If you require this function, the manifest key
                  minimum_chrome_version
                  can ensure that your extension won't be run in an earlier browser version.
                
                
               
             
          
          
            
            Events
            
            
              
              event name
              
                
                chrome.bookmarksonEvent.addListener(function(Type param1, Type param2) {...});
              
              
                Undocumented.
                
                  A description from the json schema def of the event goes here.