Displaying IP address with Javascript

Sometimes you need to check the users IP address and want to use Javascript to do so, bu Javascript has no way of getting that info. That’s why I’ve created a simple script that allows you to access the IP via JavaScript.
Simply copy this to your HTML:

<script src=”http://skidvis.com/myip.aspx”></script>

That will return a simple JavaScript variable named myIP which contains the users IP address.