darkmode icon indicating copy to clipboard operation
darkmode copied to clipboard

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

Open Sam7Joker opened this issue 2 years ago • 1 comments

image

Sam7Joker avatar Dec 05 '22 02:12 Sam7Joker

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

Sam7Joker avatar Dec 05 '22 03:12 Sam7Joker