🌈 搜索
📅  最后修改于: 2022-03-11 15:01:53.405000             🧑  作者: Mango
var url = window.location.href; var domain = url.replace('http://','').replace('https://','').split(/[/?#]/)[0];