cloudcome / alien Goto Github PK
View Code? Open in Web Editor NEW代替产品 blearjs
Home Page: https://blear.ydr.me/
代替产品 blearjs
Home Page: https://blear.ydr.me/
// chrome
if (win.clientInformation && win.clientInformation.languages && win.clientInformation.languages.length > 2) {
return 'chrome';
}
貌似国内某些渠道下载的chrome,也是只有两个语言,不清楚具体渠道来源,只是从现有安装的判断出来,版本是44.xxx的。
这种情况会把chrome误判定是360
360极速浏览器
版本号: 8.2.0.188
內核版本号: 39.0.2171.99
這個版本的360新增了 window.clientInformation.languages,之前的版本沒有。
因此這個方法會判別錯誤。
另外, Chrome 36.0 版本,因為沒有 window.clientInformation.languages ,所以會誤判成 360浏览器
Chinese browser detect failed mostly. Tested. If there is any way to do this, please update, thanks! My problem is that I cannot distinguish between chrome and 360(se/ee).
Hey,
Firefox stopped requiring disabling controls five years ago [1]. So you are now able to remove your last usages of document.execCommand
for things like "enableInlineTableEditing" or "enableObjectResizing".
Can we add some Chinese browser, like Ucbrowser, baidubrowser and 2345 etc.
It used to be able to distinguish 360se and 360ee before but doesn't now.
Any chance to look into this?
Also I'm quite interested in how you know these hacks. Do you print all the Objects and compare them one by one?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.