Onshape 3D‑Mouse on Linux (in‑page patch)

Fake the platform property on 'navigator' to convince Onshape it's running under Windows. This causes it to ask for information on https://127.51.68.120:8181/3dconnexion/nlproxy so that a 3d mouse can be connected.

Verze ze dne 21. 04. 2025. Zobrazit nejnovější verzi.

Autor
Roald Storm
Hodnocení
0 0 0
Verze
0.0.1
Vytvořeno
21. 04. 2025
Aktualizováno
21. 04. 2025
Size
680 B
Licence
MIT
Spustit na

This script fakes the platform property on 'navigator' to convince Onshape it's running under Windows. This causes it to ask for information on https://127.51.68.120:8181/3dconnexion/nlproxy so that a 3d mouse can be connected.

This userscript is meant to be used together with: https://github.com/RmStorm/spacenav-ws/tree/master