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

Adds ChromeOS detection, epiphany browser, and "Chromebook" device model #49

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

eah13
Copy link

@eah13 eah13 commented Jul 19, 2016

Not sure if these are useful upstream but I needed to handle epiphany specifically and distinguish ChromeOS from other linux so thought I'd share.

Edit: come to think of it, the device.model addition probably conflates Chromebooks and Chromeboxes, so I could take that out.

@@ -438,6 +441,9 @@ window.Detectizr = (function(window, navigator, document, undefined) {
} else {
setVersion(browser, (test(/trident\/4\.0/) ? "8" : RegExp.$1));
}
} else if (test(/iceweasel/)){
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One space required before opening brace for block expressions.

@eah13
Copy link
Author

eah13 commented Jul 26, 2016

Thanks- sorry about that. Forgot to run grunt test and grunt uglify. Was thinking they were wrapped into build

latest commits add iceweasel and midori detection, to round out the common Raspberry Pi browsers.

@barisaydinoglu
Copy link
Owner

Could you please set version to 2.3.0, thanks :)

@eah13
Copy link
Author

eah13 commented Jul 28, 2016

Done- thx!

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

Successfully merging this pull request may close these issues.

2 participants