Many websites require JavaScript. However, enabling JS means that a website can run a JS snippet to retrieve the user's IP address (even if they are behind a proxy or VPN).
So, how can I (the user) feed (spoof) the VPN IP address (which I have in a text file) to any JS that might run so that it all looks the same to the web server?
Edit / Addition: after doing a little research, i came across this site http://mybrowserinfo.com/detail.asp?bhcp=1 that displays a bunch of info that my browser is sending to the web server (Browser version, local time, screen and browser dimension, connection speed, ect..). This combo of info allows a malicious authority (say, the Chinese govt) to "fingerprint" the user, even if they do not have the IP address (because the user is behind a VPN and WebRTC has been disabled). How do i disable or "clean" this information, such that the web server can't identify the user? Is this all from WebRCT?
I suspect some of this info is coming from the UserAgent string, which i suppose the user could manually change, but what about the rest? Some must be coming from javascript, no?