Answer the question
In order to leave comments, you need to log in
How to cancel the ability to zoom in Google Chrome via multitouch?
I solved the problem for non-scrollable pages by adding a handler:
document.body.addEventListener('touchmove', function (e) {
if (e.touches.length > 1) {
e.preventDefault();
}
});
Answer the question
In order to leave comments, you need to log in
There is a suspicion that content scaling cannot be disabled on a desktop browser, because it is implemented "under the hood" of the browser, and does not depend on the content itself.
"CTRL" + "+" will work in desktop chrome so you don't write in your html
and for mobile browser @DeLaVega above wrote the correct instruction.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question