Test harness for GPS geofencing + IP-based network check. Not for production use as-is.
Browsers don't expose WiFi SSID/BSSID to web pages for privacy reasons. The closest proxy is checking whether the device's public IP matches the office's known static/VPN egress IP.