Giter VIP home page Giter VIP logo

map-to-chrome's Introduction

Map-to-Chrome logo

Map versions of Chromium-based browsers to their equivalent Chrome versions.

About this project

This package was created for Browserslist-GA, a package that lets you use your own analytics with Browserslist. Browserslist uses data from caniuse.com and so only supports the same browsers.

There are some other popular browsers however in some regions that are Chromium-based. This package maps versions of those browsers to their equivalent Chrome/Chromium versions so they can be tracked when used with tools such as Browserslist-GA.

How does it work

Let's take the Yandex Browser (or YaBrowser), a popular browser in russian-speaking countries, as an example. The Yandex Browser UA strings look like this:

Mozilla/5.0 (<platform>) AppleWebKit/<webkit-rev> (KHTML, like Gecko) Chrome/<chrome-version> YaBrowser/<yabrowser-version> Safari/<webkit-rev>

Platform can be Windows, Linux, macOS or Android (on iOS is different since all browsers use Safari's WebKit as the underlying engine). This repository contains a file named yabrowser.json that maps YaBrowser major and minor versions to the equivalent Chrome versions. The format is as follows:

[<yabrowser-major>, <yabrowser-minor>, <chrome-major>, <chrome-minor>]

Supported browsers

Supported browsers table

Contributing

If you know more about any of these browsers or have a better way to achieve this, please let us know by opening an issue or contacting the email in my GitHub profile.

If you have data for another Chromium-based browser, please open a pull request. Help us keep the data updated by contributing with new versions, also by opening a pull request. Thank you in advance!

Credits

The data for YaBrowser was initially extracted from Browserslist-GA and is based on this pull request by @Vasfed.
Electron data was completed and confirmed thanks to the electron-to-chromium project.

map-to-chrome's People

Contributors

djaler avatar dmfrancisco avatar vasfed avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

map-to-chrome's Issues

Why don't you support browsers like Opera or Samsung Internet?

Hello!

Thank you for this great library!

However, I'm curious, why don't you support browsers like Opera or Samsung Internet?

These browsers are as well Chromium-based and the next versions of Edge will also be based on Chromium. Are you willing to accept PRs for these?

Thanks!

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.