// ==UserScript== // @name VK: Hide Typing // @name:ru ВК: Скрыть набор текста // @description look @name // @description:ru Смотри @name:ru // @namespace hidetyping.user.js // @version 0.2 // @match https://vk.com/* // @downloadURL none // ==/UserScript== (() => { const listener = () => { const { send } = XMLHttpRequest.prototype; XMLHttpRequest.prototype.send = function (data) { if (/typing/.test(data)) { this.abort(); } send.call(this, data); }; }; const script = document.createElement('script'); script.setAttribute('type', 'text/javascript'); script.textContent = `(${listener.toString()})()`; document.head.append(script); })();