javascript 获取当前域名 Posted on 31 12 月, 2018 Updated on 31 12 月, 2018 <script language=”javascript”>host = window.location.host;document.write(host)</script>