Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oneplus 6 viewport size for chrome Emulated Devices

I would like to add OnePlus 6 as custom devices in the emulated devices list of Google Chrome but I don't manage to find:

  • Device pixel ratio
  • User agent string

Missing params for device pixel ratio & user agent for oneplus 6 emeulated device in chrome

like image 628
Arcayne Avatar asked Aug 21 '18 13:08

Arcayne


1 Answers

For more information you can check out this page.

According to that page:

  • width x height: 568x320
  • Device pixel ratio: 2.6252

For user agent though, they list many. The one I use is:

  • User agent string: Mozilla/5.0 (Linux; Android 9; ONEPLUS A6000 Build/PKQ1.180716.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.64 Mobile Safari/537.36
like image 90
Javier Heisecke Avatar answered Nov 07 '22 21:11

Javier Heisecke