REGEXP

$t.REGEXP_IS_CHROME

从 UA 判断是否为 chrome 浏览器

获取 UA:window.navigator.userAgent

$t.REGEXP_IS_CHROME.test('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36') // true

results matching ""

    No results matching ""