<body>
<script type="text/javascript" src="http://fw.qq.com/ipaddress" charset="gb2312"></script>
<script type="text/javascript">
document.write(
"您的IP地址是:" + IPData[0] + "<br/>您来自:" + IPData[2] + IPData[3]);
</script>
</body>

运行后的样子:

JS方式简单显示用户IP与地区来源

相关文章:

  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2022-03-04
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
猜你喜欢
  • 2021-10-16
  • 2021-09-08
  • 2022-02-21
  • 2022-12-23
  • 2021-11-26
  • 2021-09-18
  • 2022-12-23
相关资源
相似解决方案