Isn't it insane that any web page can run a port scan in the first place? Who wants that?
Meanwhile, running opencode in a podman container seems to stop this particular, err, feature.
If you use uBlock Origin you can enable the "Privacy -> Block Outsider Intrusion into LAN" filter list to mitigate this.
If you use uBlock Origin you can enable the "Privacy -> Block Outsider Intrusion into LAN" filter list to mitigate this.