Skip to content

Instantly share code, notes, and snippets.

@TechNickAI
Created September 5, 2012 21: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 TechNickAI/3645309 to your computer and use it in GitHub Desktop.
Save TechNickAI/3645309 to your computer and use it in GitHub Desktop.
Pilotfish tag on page
<script>
(function(w, d, S) {
w.Pilotfish || ((Pilotfish = function() {
Pilotfish.q.push(arguments);
}).q = []);
var p = d.createElement(S),
s = d.getElementsByTagName(S)[0];
p.src = (location.protocol === "https:" ? "https" : "http") + "://cdn.pilotfish.io/client/latest/pilotfish.min.js";
s.parentNode.insertBefore(p, s);
})(window, document, "script");
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment