When iPhone scans a QR with built in camera capabilities it opens it is SafariI. Is it possible to detect this case with JavaScript?

The problem is that in this case there is no option to install the page in Home Screen. I would like detect the situation and issue a message to guide the user on how to do it: select navigator button to open the page in Safari, which then will have the option to install in Home Screen.

I don’t know if there is an user agent string specific to case when safari is opened by qr reader.