Answers for "how to check if an url start with http or https"

0

check if url is http or https javascript

You can make use of `window` keyword
=> window.location.protocol
Posted by: Guest on March-25-2021

Code answers related to "how to check if an url start with http or https"

Code answers related to "Javascript"

Browse Popular Code Answers by Language