Update clipboard docs for Chrome 157 service worker support by patrickkettner · Pull Request #46202 · mdn/content · GitHub
Skip to content

Update clipboard docs for Chrome 157 service worker support - #46202

Open
patrickkettner wants to merge 1 commit into
mdn:mainfrom
patrickkettner:clipboard-service-worker
Open

patrickkettner wants to merge 1 commit into
mdn:mainfrom
patrickkettner:clipboard-service-worker

Conversation

@patrickkettner

Copy link
Copy Markdown
Contributor

Description

Updates the WebExtensions Interact with the clipboard guide to reflect that Chrome 157 exposes navigator.clipboard to extension service workers for writing when the extension has the "clipboardWrite" permission.

Also fixes the "clipboardRead" note saying "writing to" instead of "reading from", and notes that service workers are excluded.

Motivation

The Chrome section currently states that Chrome does not expose navigator.clipboard to extension service workers. Write support in extension service workers landed for Chrome 157.

Additional details

Chrome 157 exposes navigator.clipboard to extension service workers with the clipboardWrite permission for writing to the clipboard. Also fixes the clipboardRead note saying "writing to" instead of "reading from" and notes that service workers are excluded.
@patrickkettner
patrickkettner requested a review from a team as a code owner October 19, 2026 19:52
@patrickkettner
patrickkettner requested review from willdurand and removed request for a team October 19, 2026 19:52
@github-actions github-actions Bot added Content:WebExt WebExtensions docs size/xs [PR only] 0-5 LoC changed labels Oct 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebExt WebExtensions docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants