8)) { trkInfo = cookies[i].substring(8); } } if (window.location.protocol == “http:”) { // If “sl” cookie is about, redirect to https. for (var i = 0; i 3)) { window.location.href = “https:” + window.location.href.substring(window.location.protocol.size); return; } } } // Get the brand new area. For worldwide domains reminiscent of // fr.linkedin.com, we convert it to www.linkedin.com var area = “www.linkedin.com”; if (area != location.host) { var subdomainIndex = location.host.indexOf(“.linkedin”); if (subdomainIndex != -1) { area = “www” + location.host.substring(subdomainIndex); } } window.location.href = “https://” + area + “/authwall?trk=” + trk + “&trkInfo=” + trkInfo + “&originalReferer=” + doc.referrer.substr(0, 200) + “&sessionRedirect=” + encodeURIComponent(window.location.href); } ]]>

Leave a comment