Set viewport to match physical pixels

Viewed 1986

I'm trying to make the viewport exactly match the physical pixels on the screen.

The page I'm working on's HTML (which I can't change, because that would break other things using the same HTML) includes:

<meta name=viewport content="width=device-width, initial-scale=1">

How would I make the viewport match physical pixels in javascript?

1 Answers
Related