您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Show uniq in conversations typing status
// ==UserScript== // @name LZTConversTypingUniq // @namespace MeloniuM/LZT // @version 1.0 // @description Show uniq in conversations typing status // @author MeloniuM // @license MIT // @match https://zelenka.guru/conversations/* // @icon https://www.google.com/s2/favicons?sz=64&domain=zelenka.guru // @grant none // ==/UserScript== (function() { 'use strict'; const Im_ = $('#Conversations').data('Im.Start'); Im_.eventTypingMessage = function(e) { let username; if ($('a.username.conversationRecipientUsername').length){//из названия беседы username = $('a.username.conversationRecipientUsername').first().clone(); }else{//из списка участников let $menu = $('.membersAndActions .fl_r .Popup').first().data('XenForo.PopupMenu').$menu; username = $menu.find('li:has(img[alt="' +e.username +'"])').find('.username').clone(); } e.username = XenForo.htmlspecialchars(e.username); if (e.username == username.text()) { e.username = username.prop('outerHTML'); } e.user_id !== XenForo.visitor.user_id && this.getDialogElement(Im.conversationId).length && (this.timeout && clearTimeout(this.timeout), this.$typingNotice.length && this.$typingNotice.find(".Content").html(e.username + " " + this.$typingNotice.data("phrase")), 1 !== parseInt(this.$typingNotice.css("opacity"), 10) && this.$typingNotice.css("opacity", 1), this.timeout = setTimeout((function() { this.$typingNotice.css("opacity", 0) } ).bind(this), 4e3)) } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址