new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Electron · API · all subjects

clipboard/overview

4 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

clipboard module process

The clipboard module runs only in the main process.

clipboard API is deprecated in renderer process

Using the clipboard API directly in the renderer process is deprecated as of Electron PR #48877.

ClipboardItem MIME type mapping

The clipboard module is modeled after the W3C Clipboard API. clipboard.read() returns a Promise that resolves with a list of ClipboardItem objects, and clipboard.write() accepts an array of ClipboardItem instances that map MIME types to Blob payloads.

selection clipboard Linux independence

On Linux, the selection clipboard and system clipboard are independent. Writing via clipboard.selection does not affect the data returned by clipboard.read() and vice versa. The selection clipboard operates against the selection clipboard instead of the system clipboard.

Give your agent this brain