Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

protocol property

Contains the protocol of the URL.

This property is read-only.

Syntax

JavaScript
ptr = object.protocol

 

Property values

Type: DOMString

String containing the protocol of the URL.

See also

WorkerLocation

 

 

Show:
© 2015 Microsoft