protocol( )


Gets the protocol of the current page's URL.

Premium sites: Premium site protocol

Free sites: Free site protocol

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<string>
Did this help?