Pointer Lock API

- REC

API that provides access to raw mouse movement data. This is done by ignoring boundaries resulting from screen edges where the cursor can't go beyond, providing proper control for first person or real time strategy games.

IE

  1. 5.5 - 10: Not supported
  2. 11: Not supported

Edge

  1. 12: Not supported
  2. 13 - 94: Supported
  3. 95: Supported

Firefox

  1. 2 - 13: Not supported
  2. 14 - 40: Supported
  3. 41 - 92: Supported
  4. 93: Supported
  5. 94 - 95: Supported

Chrome

  1. 4 - 15: Not supported
  2. 16 - 21: Disabled by default
  3. 22 - 36: Supported
  4. 37 - 94: Supported
  5. 95: Supported
  6. 96 - 98: Supported

Safari

  1. 3.1 - 10: Not supported
  2. 10.1 - 14.1: Supported
  3. 15: Supported
  4. TP: Supported

Opera

  1. 9 - 12.1: Not supported
  2. 15 - 23: Supported
  3. 24 - 79: Supported
  4. 80: Supported

Safari on iOS

  1. 3.2 - 14.8: Not supported
  2. 15: Not supported

Opera Mini

  1. all: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 94: Supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 64: Supported

Chrome for Android

  1. 94: Supported

Firefox for Android

  1. 92: Supported

UC Browser for Android

  1. 12.12: Not supported

Samsung Internet

  1. 4 - 14.0: Not supported
  2. 15.0: Not supported

QQ Browser

  1. 10.4: Supported

Baidu Browser

  1. 7.12: Not supported

KaiOS Browser

  1. 2.5: Supported
Resources:
Simple demo
MDN Web Docs - Pointer Lock