Independent Left, Right, Middle & Side Button (Mouse 4 / 5) Tracking
Under the W3C UI Events specification, browsers assign distinct MouseEvent.button codes to Left (0), Middle (1), Right (2), Back / Mouse 4 (3), and Forward / Mouse 5 (4). This double click checker maintains separate performance.now() clocks per button and blocks right-click context menus and browser back/forward navigation inside the test pad—so alternating Left and Right clicks quickly never creates false faults, and you can safely run a double click test right click, middle mouse button double click test, or mouse back button double click test (Mouse 4 / side button) without leaving the page.