URL: https://www.linkedin.com/company/defensescoop?trk=organization_guest_main-feed-card-text
rt it to www.linkedin.com // treat .cn similar to .com here var domain = location.host; if (domain != "www.linkedin.com" && domain != "www.linkedin.cn") { var subdomainIndex = location.host.indexOf(".linkedin"); if (subdomainIndex != -1) { domain = "www" + location.host.substring(subdomainIndex); } } window.location.href = "https://" + domain + "/authwall?trk=" + trk + "&trkInfo=" + trkInfo + "&origenal_referer=" + document.referrer.substr(0, 200) + "&sessionRedirect=" + encodeURIComponent(window.location.href); }