How to enforce pinch-to-zoom on Firefox/Chrome on Android
Written by Stefan Judis
- Published at
- Updated at
- Reading time
- 1min
Manuel's quick explainer "Please, stop disabling zoom" includes a tip for Android Chrome/Firefox users I didn't know.
You might know that you can disable pinch-to-zoom on mobile devices using an evil meta
element.
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
But did you know that you can overwrite this meta
element and force Chrome and Firefox to allow pinch-to-zoom?
Now you do. 😉
Thanks Manuel for sharing this little detail. I'm happily zooming everywhere on my Android device now!
If you enjoyed this article...
Join 5.5k readers and learn something new every week with Web Weekly.
Reply to this post and share your thoughts via good old email.