How to get the IP address of the participant?

I was also wondering if there is a way to detect the IP address. For example, Qualtrics returns the ip addresses of the participants (without any name or surname obviously).

Has anybody found a way to do it in javascript? Saving the ip in the data output?