How does the website interact with the device?

Hi, Im interested in testing an old mouse with adafruit to make it run at higher hz. What I don’t get is that the mouse interacts with a website. How does this work? Like how is it possible a website is changing settings in your mouse? isn’t this a security breach? On the videos it does not seem to ask for persmission or something. I remember reading somewhere about how there’s a way to run the website locally, but the videos i’ve seen visit the website online so I wonder how that works.

Thanks

The configuration website uses WebHID.

When you click “Open device”, it presents you with a list of devices. You select the one you want and click “Connect”. This is when you give permission to the website to talk to your device.