Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.olark ||
- (function(i)
- {
- var e = window;
- var h = document;
- var a = e.location.protocol == "https:";
- var g = i.name;
- var b = "load";
- (function()
- {
- e[g] = function()
- {
- (c.s = c.s || []).push(arguments)
- };
- var c = e[g]._ = {},
- var f = i.methods.length;
- while(f--)
- {
- (function(j)
- {
- e[g][j] = function()
- {
- e[g]("call",j,arguments)
- }
- })
- i.methods[f]
- )
- }
- c.l = i.loader;
- c.i = arguments.callee;
- c.f = setTimeout(function()
- {
- if(c.f)
- {
- (new Image).src = a + "//" + c.l.replace(".js",".png") + "&" + escape(e.location.href)
- }
- c.f = null
- },
- 20000
- );
- c.p = { 0 : + new Date};
- c.P = function(j)
- {
- c.p[j] = new Date - c.p[0]
- };
- function d()
- {
- c.P(b);
- e[g](b)
- }
- e.addEventListener ? e.addEventListener(b, d, false) : e.attachEvent("on" + b, d);
- (function()
- {
- function l(j)
- {
- j = "head";
- return["<",j,"></",j,"><",z,' onl'+'oad="var d=',B,";d.getElementsByTagName('head')[0].",y,"(d.",A,"('script')).",u,"='",a,"//",c.l,"'",'"',"></",z,">"].join("")
- }
- var z = "body",
- var s = h[z];
- if(!s)
- {
- return setTimeout(arguments.callee,100)
- }
- c.P(1);
- var y = "appendChild";
- var A = "createElement";
- var u = "src";
- var r = h[A]("div");
- var G = r[y](h[A](g));
- var D = h[A]("iframe");
- var B = "document";
- var C = "domain",
- var q;
- var r.style.display = "none";
- var s.insertBefore(r, s.firstChild).id = g;
- var D.frameBorder = "0";
- var D.id = g+"-loader"
- if(/MSIE[ ]+6/.test(navigator.userAgent))
- {
- D.src="javascript:false"
- }
- D.allowTransparency = "true";
- G[y](D);
- try
- {
- D.contentWindow[B].open()
- }
- catch(F)
- {
- i[C] = h[C];
- q = "javascript:var d="+B+".open();d.domain='"+h.domain+"';";
- D[u] = q+"void(0);"
- }
- try
- {
- var H = D.contentWindow[B];
- H.write(l());
- H.close()
- }
- catch(E)
- {
- D[u] = q+'d.write("'+l().replace(/"/g,String.fromCharCode(92)+'"')+'");d.close();'
- }
- c.P(2)
- })()
- })()
- })({loader:(function(a)
- {
- return "static.olark.com/jsclient/loader0.js?ts="+(a?a[1]:(+new Date))
- })(document.cookie.match(/olarkld=([0-9]+)/)),
- name : "olark",
- methods:["configure","extend","declare","identify"]
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement