Created
August 15, 2016 14:42
-
-
Save demkinmaxim/6b94886915178a4c5b535dda3be1dc39 to your computer and use it in GitHub Desktop.
Calltouch Platformalp.ru modified code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (w, d, e) { | |
var a = 'all', b = 'tou', src = b + 'c' + 'h'; | |
src = 'm' + 'o' + 'd.c' + a + src; | |
var jsHost = "https://" + src, s = d.createElement(e), p = d.getElementsByTagName(e)[0]; | |
s.async = 1; | |
s.src = jsHost + "." + "r" + "u/d_client.js?param;ref" + escape(d.referrer) + ";url" + escape(d.URL) + ";cook" + escape(d.cookie) + ";"; | |
if (!w.jQuery) { | |
var jq = d.createElement(e); | |
jq.src = jsHost + "." + "r" + 'u/js/jquery-1.7.min.js'; | |
jq.onload = function () { | |
p.parentNode.insertBefore(s, p); | |
}; | |
p.parentNode.insertBefore(jq, p); | |
} else { | |
p.parentNode.insertBefore(s, p); | |
} | |
}(window, document, 'script')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment