js判断 tiktok APP内环境 本来以为关键字是tiktok,没想到是… const isTikTokEnvironment = () => { const userAgent = window.navigator.userAgent.toLowerCase(); return userAgent.includes('bytedance') || userAgent.includes('bytelocale'); }