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 - 79: Supported
  3. 80: Supported

Firefox

  1. 2 - 13: Not supported
  2. 14 - 40: Supported
  3. 41 - 71: Supported
  4. 72: Supported
  5. 73 - 74: Supported

Chrome

  1. 4 - 15: Not supported
  2. 16 - 21: Disabled by default
  3. 22 - 36: Supported
  4. 37 - 79: Supported
  5. 80: Supported
  6. 81 - 83: Supported

Safari

  1. 3.1 - 10: Not supported
  2. 10.1 - 12.1: Supported
  3. 13: Supported
  4. TP: Supported

Opera

  1. 9 - 12.1: Not supported
  2. 15 - 23: Supported
  3. 24 - 65: Supported
  4. 66: Supported

iOS Safari

  1. 3.2 - 10.2: Not supported
  2. 10.3 - 13.1: Supported
  3. 13.2: Supported
  4. 13.3: Supported

Opera Mini

  1. all: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 76: Not supported

Blackberry Browser

  1. 7: Not supported
  2. 10: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 46: Not supported

Chrome for Android

  1. 79: Not supported

Firefox for Android

  1. 68: Not supported

IE Mobile

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

UC Browser for Android

  1. 12.12: Not supported

Samsung Internet

  1. 4 - 9.2: Not supported
  2. 10.1: Not supported

QQ Browser

  1. 1.2: Not supported

Baidu Browser

  1. 7.12: Not supported

KaiOS Browser

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