Game utilities

Pointer Jump Fixt

Fix sudden pointer and camera jumps in Web 3D games.

CLIExtensionWindowsmacOSLinux

Overview

Pointer Jump Fixt patches the Pointer Lock API used by Web 3D games to prevent sudden camera and crosshair jumps. It requests raw mouse movement where supported, filters implausible movement spikes, and adds a short recovery window after pointer lock or focus changes. Use the zero-install npx CLI to patch local HTML files, or load the userscript in a browser extension manager.

Raw pointer input

Requests unaccelerated pointer-lock movement where the browser supports it.

Spike filtering

Rejects huge movement spikes from high-polling mice while keeping normal flicks responsive.

Recovery window

Suppresses unstable deltas after pointer lock, tab focus, or visibility changes.

CLI and userscript

Patch local HTML files with npx, or load the userscript or direct script include in a browser.

Install

The CLI requires Node.js 18 or newer. The browser extension is not published yet, so use the included userscript or direct script include for now.

Node.js · npx
npx -y pjfix
Patch selected HTML files
npx -y pjfix index.html game.html
Restore backups
npx -y pjfix --unpatch

FAQ

What does Pointer Jump Fixt fix?

It fixes sudden camera or crosshair jumps in Web 3D games that use the Pointer Lock API, including Eaglercraft, krunker, and three.js FPS demos.

Does the CLI modify my original files?

It creates a .orig backup before patching targeted HTML files. Run npx -y pjfix --unpatch to restore the originals.

Do I need the extension?

No. The zero-install npx CLI, userscript, and direct script include are available. The Chrome extension is not published yet.

Will it affect every web page?

No. It only changes pages where you install or inject it, and it has no effect on games or pages that do not use Pointer Lock.