helper service for common uses of nsIClipboard.
copy string to given clipboard
aString, | the string to copy to the clipboard |
aDoc, | the source document for the string, if available |
aClipboardID, | the ID of the clipboard to copy to (eg. kSelectionClipboard -- see nsIClipboard.idl) |
copy string to (default) clipboard
aString, | the string to copy to the clipboard |
aDoc, | the source document for the string, if available |