host/hostname 服务器运行时才有
href 全部url
origin file:// or http://
pathname 除去origin的url,本地运行与服务器运行都有
document.loaction
最新推荐文章于 2020-10-15 15:58:15 发布
host/hostname 服务器运行时才有
href 全部url
origin file:// or http://
pathname 除去origin的url,本地运行与服务器运行都有