[ale] OT: javascript question

Jim Popovitch yahoo at jimpop.com
Tue May 1 23:40:49 EDT 2007


On Tue, 2007-05-01 at 23:33 -0400, Warren Myers wrote:
> I'm not a Javascript guru, but can't you snag the URL and look at the
> 5th char? if it's 's', then it's SSL, if it's ':', it's plaintext.
> 
> Are you trying to make sure all traffic to certain segments of the
> site go through SSL? 

Nah, just trying to inject some javascript code back to the client and
the code contains a url (Google Analytics) that differs depending on SSL
or not (crazy, if you ask me).

-Jim P.




More information about the Ale mailing list