DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+6 =
Submit