How to prevent pc browsers from zooming

problem description

scaling is prohibited on mobile phone, as long as a meta tag is added. What can I do on PC if I want to prohibit scaling?

the environmental background of the problems and what methods you have tried

tried to monitor keyboard and wheel events to block default events and behave differently in different browsers

    document.addEventListener("DOMContentLoaded", function (event) {
            //chrome
            document.body.style.zoom = "reset";
            document.addEventListener("keydown", function (e) {
                if ((e.ctrlKey === true || e.metaKey === true) &&
                    (e.which === 61 || e.which === 107 || e.which === 173 || e.which === 109
                        || e.which === 187 || e.which === 189)) {
                    e.preventDefault();
                }
            }, false);
            document.addEventListener("mousewhell DOMMouseScroll", function (e) {
                if (e.ctrlKey === true || e.metaKey === true) {
                    e.preventDefault();
                }
            }, false);
        }, false);
Oct.27,2021

https://www.cnblogs.com/snail.
this website has code

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eab7ef-2063.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eab7ef-2063.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?