Sprawdź, czy adres URL jest HTTP lub HTTPS JavaScript
You can make use of `window` keyword
=> window.location.protocol
D@RK$T@R
You can make use of `window` keyword
=> window.location.protocol