js获取当前服务器信息,js获取当前URL、参数、端口、IP等服务器信息
1,设置或获取对象指定的文件名或路径。console.log(window.location.pathname)2,设置或获取整个 URL 为字符串。console.log(window.location.href);3,设置或获取与 URL 关联的端口号码。console.log(window.location.port)4,设置或获取 URL 的协议部分。console.log(window....
个人简介:在程序员里算是会画画的;在设计师里算是会敲代码的. <br/>微信: yujingping95<br/>Email: Mistral@weymire.com<br/>Web: <a href="https://link.zhihu.com/?target=http%3A//alphamistral.github.io" class=" external" target="_blank" rel="nofollow noreferrer"><span class="invisible">http://</span><span class="visible">alphamistral.github.io</span><span class="invisible"></span></a><br/>RTX: joshuayu