Site.loadCss("http://2.ss.faisys.com/css/datepicker.min.css?v=201904171451"); var link = $('#adminHref').attr('href'); var protocol = window.location.protocol var url = window.location.href; var path = url.substr(protocol.length); var newLink = link + "&_preUrl=" + Fai.encodeUrl(path) + "&mall=false&_preSiteId=" + Fai.top._siteId; $('#adminHref').attr('href', newLink);