/Safari\/\S+\s((?!Edge).)+/.test(navigator.userAgent) || 
/Mobile\/\S+\s((?!Safari).)+/.test(navigator.userAgent)

- 阅读剩余部分 -