是否可以在客户端检测用户是否使用加密页面?
换句话说 - 我想知道当前页面的URL是以http还是https开头.
javascript https http
http ×1
https ×1
javascript ×1