The protocol property represents the protocol being used in the current Web browser.
This is the first piece of text in the URL.
Using the protocol property of the Link object
Click the button to see the protocol used for the URL