Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check if url is http or https javascript

You can make use of `window` keyword
=> window.location.protocol
 
PREVIOUS NEXT
Tagged: #check #url #http #https #javascript
ADD COMMENT
Topic
Name
9+6 =