Answer the question
In order to leave comments, you need to log in
Is there a way to reset browser page zoom after going back through browsing history?
There is a mobile version of the site on the same domain as the main version. It is possible to disable the mobile version (enable desktop). The problem is that the browser remembers the scale of the pages viewed, and if you switch from the mobile version to the desktop version and go back, the enlarged page is displayed.
We tried to use initial-scale, but it does not help anymore, because the browser saves the scale that was in the mobile version. Is there a way to somehow reset the scaling or is the only way out is a separate subdomain for the mobile version? (Then the pages for different versions will differ and the browser will remember its own scale for each version).
Short video (0:14) illustrating the problem using github.com as an example: https://www.youtube.com/watch?v=E4TxxiaDw3c&featur...
Answer the question
In order to leave comments, you need to log in
In theory, these are not your problems, but the browser (and the user, respectively). In addition, few people switch back and forth, so you can just not think about it.
However, you can try this:
width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question