最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

protocol Property

Internet Development Index

Sets or retrieves the protocol portion of a URL.

Syntax

HTMLN/A
Scriptingobject.protocol [ = sProtocol ]

Possible Values

sProtocolString that specifies or receives the protocol used to transfer information.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The protocol property specifies how to transfer information from the host to the client. Microsoft® Internet Explorer supports several predefined protocols, including http and ftp.

The document, img, and location objects expose the protocol property as read-only. location.protocol property returns the initial substring of a URL, including the first colon (for example, http:). However, document.protocol returns the expanded text of the protocol acronym. For example, it returns the http protocol as Hypertext Transfer Protocol.

Example

This example function returns the protocol property of the current page location.

function getProtocol()
{
return document.location.protocol;
}

Standards Information

There is no public standard that applies to this property.

Applies To

A, AREA, document, IMG, location
寿光市| 宿迁市| 天气| 乐安县| 崇州市| 增城市| 建始县| 闽清县| 区。| 环江| 西贡区| 汉阴县| 永和县| 阳东县| 临邑县| 雅安市| 横山县| 怀化市| 宜良县| 利辛县| 汝州市| 新巴尔虎左旗| 金秀| 准格尔旗| 乌兰县| 武强县| 枞阳县| 东阳市| 荆门市| 凤冈县| 阳江市| 伊川县| 东山县| 虹口区| 灵台县| 锦州市| 思茅市| 博兴县| 离岛区| 东山县| 林芝县|