[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] OT: javascript question



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.