How can I use JavaScript on the client side to detect if the page was encrypted?

Posted by Simon on Stack Overflow See other posts from Stack Overflow or by Simon
Published on 2008-11-11T23:04:03Z Indexed on 2010/03/18 20:51 UTC
Read the original article Hit count: 342

Filed under:
|
|

Is it possible to detect, on the client side, whether the user is using an encrypted page or not?

Put another way -- I want to know if the URL of the current page starts with http or https.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about http