html代码
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>ip</title> </head> <script type="text/javascript" src="https://www.lpv4.cn:189/api/cip.php?code=js"></script> <script>ip()</script> <!--https://www.lpv4.cn:189/api/cip.php?code=js 返回获取ip归属地 https://www.lpv4.cn:189/api/cip.php直接获取IP --> <body> </body> </html>
复制直接调用,可加入网页尾部