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

add detection for new edge chromium browser #102

Merged
merged 2 commits into from
Apr 14, 2019
Merged

Conversation

DamonOehlman
Copy link
Owner

Will be interesting to see if MS retain the shortened Edg vs Edge in the user agent string (I doubt it). As such I expect this is a detection that will become redundant as MS transitions to chromium backed edge in stable, but I think it's probably a worthwhile detection to add for now in case anyone wants to give it special treatment in the interim.

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.48 Safari/537.36 Edg/74.1.96.24

@DamonOehlman DamonOehlman requested a review from 5punk April 12, 2019 00:34
@5punk
Copy link
Collaborator

5punk commented Apr 14, 2019

Aaah based on the new chromium engine.
It'll be sad to see Chakra die, it was a decent JS Engine :)

Copy link
Collaborator

@5punk 5punk left a comment

Choose a reason for hiding this comment

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

LGTM! 👍
Any other UA variations we should worry about?

@DamonOehlman
Copy link
Owner Author

It'll be sad to see Chakra die, it was a decent JS Engine :)

Agreed...

Any other UA variations we should worry about?

Not terribly sure at this point, unfortunately my technique for staying on top of this at the moment is pretty adhoc, i.e. "Oh hey! That's a new browser I should try out. I should probably add support for detection while I'm doing it".

@DamonOehlman
Copy link
Owner Author

Specifically with regards to Edge I do think we should try and keep on top of it. I'm developing on Windows at the moment so I'll do my best to do that even though I'm not using Edge in day to day dev.

@DamonOehlman DamonOehlman merged commit 1dd7d41 into master Apr 14, 2019
@DamonOehlman DamonOehlman deleted the damon-edge-chromium branch April 14, 2019 07:12
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