Please see the DevTools Frontend repository for the latest device data distributed with Chrome. This repository is no longer being updated.
This repository holds all of the device information that is provided to Chrome DevTools' device mode.
License: Other
Please see the DevTools Frontend repository for the latest device data distributed with Chrome. This repository is no longer being updated.
This repository holds all of the device information that is provided to Chrome DevTools' device mode.
use case:
https://productforums.google.com/forum/#!category-topic/webmasters/mobile/xeViVssd5dQ
https://www.google.com/webmasters/tools/mobile-friendly/ uses those UAs and some UA sniffs treat the bots differently.
Need both Googlebot and Googlebot Mobile UAs.
With the pull of jsonschema validation the contributing guide needs a slight update.
I'll work on this at some point today or tomorrow.
http://json-schema.org/examples.html
https://pypi.python.org/pypi/jsonschema
Should do this in the generate_ py script
Device information should be added for the latest of the Nexus family.
I can add this myself once I get some time to get a UA string from the actual devices I can get a hold of. But if someone else can get in faster then that's fine too.
Hi, Chrome Emulation models does not including, most if not all the Nokia/Microsoft Lumia Phones, including what I own, the 1520. I'm in desperate need of this for the past week. I noticed some Lumia are listed, although some are missing particularly the 1520 or 1030 !
Might be useful to see if some sales data could be gotten within Google to figure out the top say 4 ChromeOS laptops sold in the past few years. Add specs for those + the Pixel to the devices list. This would help developers targeting those. Of course this would need to be things like laptops and the LG all-in-one device. The simple boxes where you BYOM aren't useful since they inherently don't have set screen specs or input modes.
It's easy for these UAs to fall out of date.
We need an improved method of keeping these updated.
We want the UAs to represent the latest stable version of Chrome & Safari on each device.
Any suggestions?
The Nexus 5X and 6P dimensions appear to be incorrect, as well as the device pixel ratio for the 6P. They should be the following:
Nexus 5X: 412x732
Nexus 6P: 412x732 with a DPR of 3.5
It is not rotated:
"type": "emulated-device",
"device": {
"show-by-default": false,
"title": "Microsoft Lumia 550",
"screen": {
"horizontal": {
"width": 640,
"height": 360
},
"device-pixel-ratio": 2,
"vertical": {
"width": 640,
"height": 360
}
},
Desktop and Notebook classifications are pretty much the exact same, except one is portable and the other is not. Couldn't we condense these two into one type?
Ref: https://github.com/GoogleChrome/devtools-device-data/blob/master/device_schema.json#L80
The UA string templates are already provided. What we could do is create a template string that for currently updated devices we automatically insert the latest variables. Then once a device is no longer supported we just hard-code the last known good UA string. This would only require us to keep one JSON template updated with the latest variables when new releases happen.
Any better thoughts? Some reason this isn't a good idea?
We have a few UAs out of date or missing.
Pull requests very welcome for this.
In https://codereview.chromium.org/937303004/ I made a few changes
sources:
Need to update some things over here to match.
https://codereview.chromium.org/940193002/ updated some chrome UAs
The devices.json is the output of generation. If this is tracked (as it currently is) then pulling in multiple merges quickly becomes a pain since each PR is going to conflict with that generated file.
Perhaps a better setup would be:
Any other ideas?
I suggest to add more classes of devices, like TV
devices, so we should have
type = phone | tablet | notebook | desktop | tv | unknown
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.