var userAgent = navigator.userAgent.toLocaleLowerCase(); var searchEngines = ["spider", "bot"]; var isSearchEngine = searchEngines.some(se => userAgent.indexOf(se) !== -1); if (!isSearchEngine) { document.title = "管理后台"; }
管理后台
Welcome欢迎登录