Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更改 userAgent 浏览器会被误判,造成firefox不兼容? #36

Open
Sam7Joker opened this issue Dec 5, 2022 · 1 comment
Open

Comments

@Sam7Joker
Copy link

image

@Sam7Joker
Copy link
Author

找到原因了userAgent 被我更改了。通过 userAgent 判断是不准确的建议增加 window.chrome 来判断是是 chromium 系的。

@Sam7Joker Sam7Joker changed the title 不兼容firefox? 更改 userAgent 浏览器会被误判,造成firefox不兼容? Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant