8)) { trkInfo = cookies[i].substring(8); } } if (window.location.protocol == “http:”) { // If “sl” cookie is ready, 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 resembling // fr.linkedin.com, we convert it to www.linkedin.com // deal with .cn much like .com right here var area = location.host; if (area != “www.linkedin.com” && area != “www.linkedin.cn”) { 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); } ]]>

Source

Business Travel News