How to determine access from Safari in visionOS

Hi,

I have one question.

When creating a web page, is there a way to determine that it is being accessed from Safari on visionOS? I would also like to know the user agent for Safari on visionOS. If there is more than one way to determine this, such as JavaScript and web server, please tell us all. Cases where it is used include changing the page layout in the case of Safari on visionOS, changing the processing method when dynamically generating HTML pages on a web server, and judging Quick Look.

Best regards.

Sadao Tokuyama

https://1planet.co.jp/

https://twitter.com/tokufxug