您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Disables the Alt key shortcut functionality in Zalo chat to prevent interference with user interactions.
// ==UserScript== // @name Disable Alt Shortcut in Zalo // @namespace http://tampermonkey.net/ // @version 2024-03-22 // @description Disables the Alt key shortcut functionality in Zalo chat to prevent interference with user interactions. // @author tnowad // @homepage https://github.com/tnowad/zalo-disable-alt-shortcut // @run-at document-start // @match https://chat.zalo.me/* // @icon https://www.google.com/s2/favicons?sz=64&domain=zalo.me // @grant none // @license MIT // ==/UserScript== (() => { const container = document.querySelector("body"); container.addEventListener( "keydown", function (e) { if (e.altKey) { e.preventDefault(); e.stopPropagation(); } }, { passive: true }, ); })();