欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

js獲取本機的外網(wǎng)/廣域網(wǎng)ip地址完整源碼

 更新時間:2013年08月12日 18:14:10   作者:  
通過js獲取本機的外網(wǎng)和廣域網(wǎng)ip地址的方法有很多,本文為大家介紹個不錯的方法,希望對大家有所幫助
完整源代碼:
復制代碼 代碼如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>客戶端外網(wǎng)IP-腳本之家</title>
</head>
<body>
您的IP地址是:<span id="keleyivisitorip"></span>
<script type="text/javascript" src="http://tool.keleyi.com/ip/visitoriphost/"></script>
</body>
</html>

效果如下:

您的IP地址是:114.235.53.54

也可到這里查看效果:
http://tool.keleyi.com/ip/wodeip.htm

使用方法:

一、把這個 <span id="keleyivisitorip"></span> 放到源代碼中要顯示IP地址的位置

二、然后在源代碼的</body>前輸入:<script type="text/javascript" src="http://tool.keleyi.com/ip/visitoriphost/"></script>

相關(guān)文章

最新評論