Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/browserslist/map-to-chrome
Map versions of Chromium-based browsers to their equivalent Chrome versions.
https://github.com/browserslist/map-to-chrome
browserslist caniuse chrome chromium
Last synced: about 1 month ago
JSON representation
Map versions of Chromium-based browsers to their equivalent Chrome versions.
- Host: GitHub
- URL: https://github.com/browserslist/map-to-chrome
- Owner: browserslist
- License: mit
- Created: 2018-03-18T11:21:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-14T11:41:59.000Z (7 months ago)
- Last Synced: 2024-11-03T13:35:34.146Z (about 2 months ago)
- Topics: browserslist, caniuse, chrome, chromium
- Language: JavaScript
- Homepage:
- Size: 49.8 KB
- Stars: 18
- Watchers: 3
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Map versions of Chromium-based browsers to their equivalent Chrome versions.
## About this project
This package was created for [Browserslist-GA](https://github.com/dmfrancisco/browserslist-ga),
a package that lets you use your own analytics with [Browserslist](https://github.com/ai/browserslist).
Browserslist uses data from [caniuse.com](https://github.com/Fyrd/caniuse) 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 () AppleWebKit/ (KHTML, like Gecko) Chrome/ YaBrowser/ Safari/
```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:```
[, , , ]
```## Supported browsers
* Yandex Browser (or YaBrowser), a [popular browser](http://gs.statcounter.com/browser-market-share/all/russian-federation) in russian-speaking countries
* Cốc Cốc Browser, the [2nd most popular browser](http://gs.statcounter.com/browser-market-share/all/viet-nam) in Vietnam
* QQ Browser for Windows, the [2nd most popular desktop browser](http://gs.statcounter.com/browser-market-share/desktop/china) in China
* Electron, a framework to develop cross-platform desktop applications![Supported browsers table](./table.svg)
## 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](https://github.com/dmfrancisco).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](https://github.com/dmfrancisco/browserslist-ga)
and is based on this [pull request](https://github.com/dmfrancisco/browserslist-ga/pull/2)
by [@Vasfed](https://github.com/Vasfed).
Electron data was completed and confirmed thanks to the [electron-to-chromium](https://github.com/Kilian/electron-to-chromium) project.