| CARVIEW |
Select Language
HTTP/2 301
server: nginx
date: Sun, 28 Dec 2025 04:16:12 GMT
content-type: text/html
content-length: 162
location: /api-reference/clipboard/
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
strict-transport-security: max-age=31536000;
HTTP/2 200
server: nginx
date: Sun, 28 Dec 2025 04:16:13 GMT
content-type: text/html
last-modified: Tue, 26 Aug 2025 18:14:18 GMT
vary: Accept-Encoding
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
content-encoding: gzip
strict-transport-security: max-age=31536000;
Clipboard - Nova
RESULTS:
No Results
Building Extensions
Contributing Languages
JavaScript API Reference
Clipboard
Reading and writing to the clipboard
The nova.clipboard global object is used to read and write text to the user’s clipboard. This API requires that the extension declare the clipboard entitlement.
Added in Nova 1.2.
Methods
readText()
Returns a 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.
writeText(text)
Writes text to the user’s pasteboard, replacing its contents. Returns a Promise that resolves when writing is complete.