VBScript:
If LCase(request.ServerVariables(“HTTPS”)) = “off” Then
response.write “Error: access denied”
response.end
End If
JavaScript:
if(location.protocol != “https:”)
{
alert(“Error”);
}
Use advanced navigation for a better experience.
You can quickly scroll through posts by pressing the above keyboard keys. Now press Esc to close this window.
VBScript:
If LCase(request.ServerVariables(“HTTPS”)) = “off” Then
response.write “Error: access denied”
response.end
End If
JavaScript:
if(location.protocol != “https:”)
{
alert(“Error”);
}