Skip to content

JS API for querying user activation #140

@sideshowbarker

Description

@sideshowbarker

https://github.com/dtapuska/useractivation

Currently there are ways to determine if a user gesture is active:

  • Copy and Pasting items to the clipboard
  • Requesting play on a media element and checking its status

Some of these actions are destructive to the user (ie. replacing the clipboard text) and while we cannot necessarily prevent them, it is advisable to provide functionality to the platform to discourage their use.

A few examples of use are:

  • Video autoplay
  • Audio play

Cc @dtapuska

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions