Javascript ile ip alma

<html>
<head>
<script type=”application/javascript”>
function getip(json){
alert(json.ip);
}
</script>
<script type=”application/javascript” src=”http://jsonip.appspot.com/?callback=getip”></script&gt;
</head>
<body></body>
</html>