JS 獲取當前網絡IP

<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script type="text/javascript">
       localStorage.setItem("thisIP",returnCitySN["cip"])
       alert(returnCitySN["cip"]+','+returnCitySN["cname"])
</script>
相關文章
相關標籤/搜索