GithubHelp home page GithubHelp logo

detect.js's Introduction

๐Ÿ‘‹ Hi, I'm Darcy!

I'm building something new... was previously the manager for the npm & gh CLI/OSS Teams at GitHub

tl;dr introduction...

Experience includes (but is not limited to):

  • ๐Ÿ‘” Directing managers, teams, leads & ICs (engineering, devops, security, product & design)
  • โค๏ธ Leading with empathy & a holistic approach to problem solving
  • ๐ŸŒฑ Leveraging a growth mindset & culture to build & scale teams
  • โญ๏ธ Fostering a safe environment to unlock individuals potential to be their best selves
  • โ˜๏ธ Tackling complex problem areas with world-wide impact & scale
  • ๐Ÿ›  Developing world-class products & experiences for B2C, B2B & B2E customers/users
  • ๐Ÿ“Š Defining, implementing & monitoring processes & tools to meet industry standards & best practices
  • ๐Ÿ”Ž Navigating uncertainty, leveraging two decades of experience, strong network & organizational counterparts
  • ๐ŸŽค Speaking at events on technology, product development, building communities & culture
  • ๐ŸŽ‰ Organizing & running community office hours, meetups & conferences
  • โœ๏ธ Writing for & featuring in mass media publications
  • ๐ŸŒŽ Contributing to numerous open source projects, foundations & initiatives
  • ๐ŸŽ“ Teaching classes & workshops for post-secondary & professional development audiences

Professional interests include (but are not limited to):

  • โœจ Leadership
  • ๐Ÿค– Tooling & Automation
  • โ›“ Software Supply Chain
  • ๐Ÿ›ก Security
  • ๐Ÿ’ฌ Developer Relations
  • ๐Ÿงช Product Strategy & Development
  • ๐ŸŽจ User Experience & Interface Design
  • ๐Ÿ’ผ Startups & Entrepreneurship

detect.js's People

Contributors

adrianocahete avatar darcyclarke avatar drusso avatar julkue avatar ndaversa avatar pamelafox avatar xonev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

detect.js's Issues

Yandex Browser

Please add Yandex Browser detection. It always says that Yandex Browser is Google Chrome. Example of Yandex Browser user agent string:

Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 YaBrowser/14.10.2062.12544 Safari/537.36

Would you please consider adding git tag for each version?

Hi there,

I'm Peter from CDNJS, the free and open source and community-driven public front-end web library CDN service, there is a request to add Detect.js on CDNJS, however, we can not easily decide the versions on the repo, it'll be good to add tag for the versions, and also our auto-updater can automatically add the new versions of Detect.js in the future, so hope you can consider that, thank you!

cc cdnjs/cdnjs#7157

JavaScript error on IE11

See attached screenshot. Works correctly in Chrome and Firefox but generates a JavaScript error on Windows 7 Enterprise SP1 running IE11 update 11.0.28.
detectjs error 1

Windows 10 Detection

Pull Request #29
Although windows 10 is still in development I feel that it would be a good idea to detect it.

IE 11 doesn't detected

User agent Mozilla/5.0 (Windows NT 6.1; Trident/7.0; .NET4.0C; .NET4.0E; rv:11.0) like Gecko detected how Other
ie11
Pls fix this.

Add semver tags

This is necessary for e.g. Bower in order to work correctly.

Undefined variable "breaker"

In the non-native forEach fallback code, a breaker variable is used, but it is never defined, causing errors in IE7-8. Am I missing a dependency, or does the variable need to be set somewhere?

MS Edge is detected as Chrome

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240

Create a demo page

We need to create a demo page to show and use as real test.

Pushing directly to github pages is good.

Opera 19, invalid detected

source: "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36 OPR/19.0.1326.63"

Result:
browser: Object
family: "Chrome"
major: 32
minor: 0
name: "Chrome 32"
patch: 1700
version: "32"

Microsoft Egde detected as Chrome

I tested the lib on browserstack.com using the IE13 setting (wich apparently is the EDGE browser).
The test result shows Chrome as the Browser wich is not correct in this case:

win10_edge_13 0

Meet Windows Phone 8.1 - crazy user agent

new windows phone 8.1 - mobile IE have user agent:

Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 620) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537

It detected as Android.

do not detect Opera!!!

maybe its a new user agent string??

example of opera 24

"Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.94 Safari/537.36 OPR/24.0.1558.53"

BB10 detected as "Desktop" device

I'm using Chrome -> Emulation -> User Agent -> Spoof user agent -> BlackBerry -- BB10

source: "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.1+ (KHTML, like Gecko) Version/10.0.0.1337 Mobile Safari/537.1+"

Object {family: "Other", type: "Desktop", manufacturer: null}

Identify Windows 8.1

Windows 8.1 is identified as only "Windows" for the OS family and name. Windows 8.1, which has Windows NT 6.3 in the user agent (I've seen others looking for Windows 8.1 too) is missing from the regexes.

JSHint issues

I accidentally ran JSHint over detect.js when I brought it into our codebase, and it found a few issues. You can see them by just using http://www.jshint.com/

A few of them are more worrying to me than others, like parseInt not using a radix.
But I haven't actually seen the code before so I don't feel equipped to make a judgement call on the warnings.

So.. its an FYI, feel free to close.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.