Javascript的protocol属性

来源:互联网 发布:淘宝客手机版 编辑:程序博客网 时间:2024/06/03 12:41
location.protocol -- 返回URL中的协议部分。例如 http://www.dreamdu.com:8080/xhtml/ 返回(//)前面的内容http:
  • protocol,中文"网络中数据交换而建立的规则、标准"
  • 引用网址:http://www.dreamdu.com/javascript/location.protocol/


protocol属性图示


1 0
原创粉丝点击