meta name="viewport" content="target-densitydpi=device-dpi"
Stops Android from performing scaling; that means that you will have to make the necessary adjustments for each density via css and JavaScript.
<meta name="viewport" content="target-densitydpi=device-dpi" />
If you want to modify your web page for different densities, by using the -webkit-device-pixel-ratio css media query and/or the window.devicePixelRatio dom property, then you should set the meta name="viewport" content="target-densitydpi= to device-dpi. This stops Android from performing scaling in your web page and allows you to make the necessary adjustments for each density via css and JavaScript.