如何取浏览器的当前域名

var domain = document.domain;
console.log(domain)
posted @ 2018-08-07 18:26  李美玲  阅读(285)  评论(0)    收藏  举报