This event is intercepted by the service worker which injects a content script into the current page which copies the passed value to the clipboard.

interface CopyToClipboardMessage {
    source: "@libp2p/devtools-metrics:devtools";
    tabId: number;
    type: "copy-to-clipboard";
    value: string;
}

Properties

Properties

source: "@libp2p/devtools-metrics:devtools"
tabId: number
type: "copy-to-clipboard"
value: string