You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a lot of chrome-like browsers available on Android phones, and the fact that detect-browser evolves to identify more of them (PR #98 as an example) I think we are heading to the point where a general 'family' field might be of use in the result data.
This would open up the possibility of having logic (note pseudo code) that would allow for the following:
if (specificBrowserA) {
...
} else if (browserFamilyA) {
...
} else {
...
}
Using logic like the above a developer could specify special treatment for a very specific browser (e.g. Miui) but other Chromium based browsers to be handled another (with a fairly minimal amount of code).
The text was updated successfully, but these errors were encountered:
This will become important for us when the chromium based Edge starts to appear widely because it can probably be treated the same as Chrome in most cases
With a lot of chrome-like browsers available on Android phones, and the fact that
detect-browser
evolves to identify more of them (PR #98 as an example) I think we are heading to the point where a general 'family' field might be of use in the result data.This would open up the possibility of having logic (note pseudo code) that would allow for the following:
Using logic like the above a developer could specify special treatment for a very specific browser (e.g. Miui) but other Chromium based browsers to be handled another (with a fairly minimal amount of code).
The text was updated successfully, but these errors were encountered: