<script language="javascript"> //获取域名 host = window.location.host; host2=document.domain; //获取页面完整地址 url = window.location.href; document.write("<br>host="+host) document.write("<br>host2="+host2) document.write("<br>url="+url) </script>
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/112873.html原文链接:https://javaforall.net