1. Méthode pour obtenir une adresse IP par JS
<script src = "http://pv.sohu.com/cityjson?ie=utf-8"> </ script> <script type = "text / <a class = infotextkey href =" // www.vevb.com/ "cible = _blank> javascript </a>"> Document.Write (returnCitySn ["CIP"] + ',' + returnCitysn ["cname"]) </cript>
2. Méthode 2 de JS pour obtenir l'adresse IP
<script linguisse = "javascript" type = "text / javascript" src = "http://fw.qq.com/ipaddress"> </ script> <script> document.write ("Votre ip est:" + ipdata [0] + ", de:" + ipdata [2]); </cript>3. Méthode 3 de JS pour obtenir l'adresse IP, Tencent IP et UTF-8:
<script type = "text / javascrip