Re: [w3c/editing] Support navigator.clipboard inside of Service Workers (Issue #458)

On the web, it wouldn't. In a Web Extension, there is a [separate permissions model](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json#:~:text=clipboardWrite) for the user to knowingly allow for the action to take place and way to receive user inputs.
A common usecase is an extension that listens for a [command key](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/commands) or click of the [action button](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/action/onClicked) to copy a shortened/templated/more-than-just-the-standard URL of the currently viewed tab. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/458#issuecomment-1932909675
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/editing/issues/458/1932909675@github.com>

Received on Wednesday, 7 February 2024 21:09:46 UTC