Javascript Reference
Categories: A

javascript A protocolLong

@March 15, 2008, 1:22 a.m.

protocolLong Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

Read-only  

Provides a verbose description of the protocol implied by the URL of the href attribute or href property. Not supported in IE 4/Macintosh, and appears to be deprecated .

 
Example
 
if (document.getElementById("myLink").protocolLong ==
    "HyperText Transfer Protocol") {
    // statements for treating document as server file
}
 
Value

String.

 
Default

None


Powered by Linode.