Javascript Reference
Categories: document

javascript document protocol

@March 15, 2008, 1:22 a.m.
protocol Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a

Read-only

Returns a plain-language string describing the protocol used to load the current document. Unlike the location.protocol property's literal value (e.g., http: or file:), the document.protocol is human-readable (e.g., Hypertext Transfer Protocol or File Protocol).

 
Example
 
if (document.protocol == "File Protocol") {
    // process for file access in IE
}
 
Value

Plain-language string.

 
Default

Current document's protocol type.

coursework writers
<a href=https://brainycoursework.com>coursework questions</a>
coursework in english
InessaEtPi - 2 years
custom essay online
<a href=https://buytopessays.com>fast custom essays</a>
custom essays writing
PennyEtPi - 2 years
write my essay online
<a href=https://buy-eessay-online.com>easy essay help</a>
english essay help online
ChelsaeEtPi - 2 years

Powered by Linode.