Skip to content

Instantly share code, notes, and snippets.

@qwertypants
Created November 10, 2010 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qwertypants/671192 to your computer and use it in GitHub Desktop.
Save qwertypants/671192 to your computer and use it in GitHub Desktop.
check for SLL
// Taken from Google. Is that evil?
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment