Looks great, a clear improvement over polling. Thanks! Hopefully you can find APIs on non-Windows platforms to enable this. The explainer mentions polling the clipboard on MacOS but I'm not sure we'd want to do that in Chromium, would we? Perhaps it would be better to not expose the API on platforms that lack support and rely on the site doing feature detection to decide if it wants to poll and at what interval?
Rick On Mon, Nov 25, 2024 at 11:33 PM Chromestatus < ad...@cr-status.appspotmail.com> wrote: > Contact emails ror...@microsoft.com, ragou...@microsoft.com, > sa...@microsoft.com, lukekli...@google.com > > Explainer > https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/ClipboardAPI/clipboard-change-event-explainer.md > > Specification > https://www.w3.org/TR/clipboard-apis/#clipboard-event-clipboardchange > > Summary > > The "clipboardchange" event fires whenever the system clipboard contents > are changed either by a web app or any other system application. This > allows web-apps like remote desktop clients to stay in sync with the system > clipboard. It provides an efficient alternative to polling the clipboard > for changes. > > > Blink component Blink>DataTransfer > <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EDataTransfer> > > Motivation > > Today, a web-app can monitor the system clipboard by polling and reading > the clipboard through async clipboard API at regular intervals. However, > polling is not efficient and this feature aims to introduce an efficient > way of notifying web apps when clipboard changes. > > > Initial public proposal https://github.com/WICG/proposals/issues/186 > > Search tags clipboard change event > <http:///features#tags:clipboard%20change%20event>, clipboardchange > <http:///features#tags:clipboardchange>, clipboard monitor > <http:///features#tags:clipboard%20monitor> > > TAG review https://github.com/w3ctag/design-reviews/issues/1017 > > TAG review status Pending > > Risks > > > Interoperability and Compatibility > > None > > > *Gecko*: No signal ( > https://github.com/mozilla/standards-positions/issues/1115) > > *WebKit*: No signal ( > https://github.com/WebKit/standards-positions/issues/429) > > *Web developers*: Positive Web based spreadsheet apps like Excel Online > and web based remote desktop client apps have shown interest in this API. > Please refer to the explainer document for further details about their use > cases. > > *Other signals*: > > WebView application risks > > Does this intent deprecate or change behavior of existing APIs, such that > it has potentially high risk for Android WebView-based applications? > > None > > > Debuggability > > None > > > Is this feature fully tested by web-platform-tests > <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> > ? No > > Flag name on about://flags None > > Finch feature name ClipboardChangeEvent > > Requires code in //chrome? False > > Tracking bug https://issues.chromium.org/issues/41442253 > > Estimated milestones > > No milestones specified > > > Link to entry on the Chrome Platform Status > https://chromestatus.com/feature/5085102657503232?gate=5071621023596544 > > This intent message was generated by Chrome Platform Status > <https://chromestatus.com>. > > -- > You received this message because you are subscribed to the Google Groups > "blink-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to blink-dev+unsubscr...@chromium.org. > To view this discussion visit > https://groups.google.com/a/chromium.org/d/msgid/blink-dev/67454fad.2b0a0220.19a388.0284.GAE%40google.com > <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/67454fad.2b0a0220.19a388.0284.GAE%40google.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY94bsOZDBw-Ekf59LDP5ofUmx%3Dbqcke%2B7zU0dN4%2BXXjiQ%40mail.gmail.com.