nova.clipboard global object is used to read and write text to the user’s clipboard. This API requires that the extension declare the
Added in Nova 1.2.
Promise object that resolves to the current text on the user’s clipboard. If the data on the clipboard is not text, or there is no data on the clipboard, the promise resolves to an empty string.
Writes text to the user’s pasteboard, replacing its contents. Returns a
Promise that resolves when writing is complete.