← Back to release summary

Event.isTrusted attribute

Category
User input
Type
New or changed feature
Status
Enabled by default (Chrome 46)
Intent stage
None

Summary

Event.isTrusted is an attribute that is true when the event was generated by a user action, and false when the event was created or modified by script, or dispatched via dispatchEvent.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted

Samples: https://googlechrome.github.io/samples/event-istrusted/index.html

View on chromestatus.com