Clipboard eventsBaseline · Widely available
The "copy", "cut", and "paste" events fire on elements when the user starts an action with the clipboard.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Mar 27, 2017. Widely available since Sep 27, 2019.
Browser support
DesktopChrome
1–40Not supported
41+Supportedsince Mar 3, 2015
Current: 155Edge
12+Supportedsince Jul 29, 2015
Current: 154Firefox
1–21Not supported
22+Supportedsince Jun 25, 2013
Current: 157Safari
1–10Not supported
10.1+Supportedsince Mar 27, 2017
Current: 27MobileChrome Android
18–40Not supported
41+Supportedsince Mar 11, 2015
Current: 155Firefox Android
4–21Not supported
22+Supportedsince Jun 25, 2013
Current: 157Safari iOS
1–10Not supported
10.3+Supportedsince Mar 27, 2017
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: ClipboardEvent.
Feature detection
JS · check before using
if ("ClipboardEvent" in globalThis) {
// ClipboardEvent is available
} else {
// load a polyfill or use a fallback
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (6). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| ClipboardEvent | 41 | 12 | 22 | 10.1 | 41 | 22 | 10.3 |
| ClipboardEvent.ClipboardEvent | 58 | 17 | 22 | 10.1 | 58 | 22 | 10.3 |
| ClipboardEvent.clipboardData | 41 | 12 | 22 | 10.1 | 41 | 22 | 10.3 |
| Element.copy_event | 1 | 12 | 22 | 3 | 18 | 22 | 3 |
| Element.cut_event | 1 | 12 | 22 | 3 | 18 | 22 | 3 |
| Element.paste_event | 1 | 12 | 22 | 3 | 18 | 22 | 3 |