显示浏览访客的IP

jQuery(function($){    var url = 'http://chaxun.1616.net/s.php?type=ip&output=json&callback=?&_='+Math.random();      $.getJSON(url, function(data){        alert(data.Ip);      });});

({"Ip":"???","Isp":"???","Browser":"Internet Explorer 8.0","OS":"Windows 7","QueryResult":1})



<iframe src=http://ip.91.com/ip/showip.asp?text=&bg=&line=2&scro=1&leng=180frameborder="0" scrolling="no" width="180" height="30"marginheight="4"marginwidth="0"></iframe>

<iframe width="1800"height="30" frameborder="0" scrolling="no" src="http://www.cz88.net/ip/viewip468.aspx"></iframe

原文地址:https://www.cnblogs.com/sui84/p/6777058.html