How to find the IP of a user in a JS based chat room?
<p>What is the algorithm or the code to find the IP of a user while in a javascript based chatroom?</p>

<p>logging into one such room and i am told that someone knows my IP and also the OS i am using just by inserting a simple JS based code in the original site code withouth any illegal doing.....</p>

<p>help me out i am just curious.</p>

<p>Thanks!</p>
