JavaScript 获取完整当前域名时间:2022-03-26 03:27:54 <script> var dq_url = window.location.protocol+"//"+window.location.host;/*获取当前域名*/ console.log(dq_url); </script>