In JavaScript, the webkitmouseforcechanged event is a proprietary WebKit / Safari Force Touch event that fires each time pressure changes on a Force Touch trackpad or touchscreen (MDN). It is a MouseEvent; read pressure with event.webkitForce. It first fires after mousedown and stops before mouseup.
Register a listener with addEventListener. Check readiness and browser support before you rely on this event.
Syntax
Listen for webkitmouseforcechanged. Start with this line.
Feature-detect. Looking for onwebkitmouseforcechanged is a common Safari check.
Branch the UX. Only attach the Force Touch listener when support exists.
Plan a fallback. Pointer Events pressure is the portable alternative.
Do not require it. Most browsers and devices will take the fallback path.
Compatibility
Browser Support
webkitmouseforcechanged is Non-standard on MDN — proprietary Safari / WebKit Force Touch. Not Baseline. Not part of any web specification. Prefer Pointer Events pressure for cross-browser apps.
✓ Non-standard
Element webkitmouseforcechanged
Safari Force Touch pressure stream only. Not available in Chrome, Firefox, or Edge as a standard event.
It is a proprietary Safari / WebKit Force Touch event that fires each time pressure changes on a Force Touch trackpad or touchscreen (MDN). It first fires after mousedown and stops before mouseup.
MDN marks it Non-standard only — not Deprecated and not Experimental. It is not part of any web specification. Prefer portable APIs for production.
A MouseEvent (inherits from UIEvent / Event). Read pressure with the non-standard MouseEvent.webkitForce property.
MouseEvent.WEBKIT_FORCE_AT_MOUSE_DOWN is the minimum for a normal click; MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN is the minimum for a force click. Compare event.webkitForce against them.
Prefer Pointer Events (PointerEvent.pressure) where available, with mouse/touch fallbacks. Treat Force Touch events as an optional Safari enhancement only.
Use element.addEventListener("webkitmouseforcechanged", handler), or set onwebkitmouseforcechanged where supported. Always feature-detect first.