demo · v140
Clipboard Watcher
Hit start, then copy something from anywhere on your system. The watcher logs every clipboardchange event — even from copies made outside the page.
API not detected
Your browser doesn't expose clipboardchange on navigator.clipboard. Try Chrome 140+ on a secure context (https or localhost).
Idle
Event log:
No events yet.
navigator.clipboard.addEventListener("clipboardchange", async () => {
const items = await navigator.clipboard.read();
for (const item of items) {
console.log("clipboard now contains:", item.types);
}
});
see also
- Clipboardchange event — feature index
- ChromeStatus entry