Show emote names when hovering over the image
当前为
// ==UserScript==
// @name InstaSynchP Emote Names
// @namespace InstaSynchP
// @description Show emote names when hovering over the image
// @version 1.0.4
// @author Zod-
// @source https://github.com/Zod-/InstaSynchP-Emote-Names
// @license MIT
// @include http://*.instasynch.com/*
// @include http://instasynch.com/*
// @include http://*.instasync.com/*
// @include http://instasync.com/*
// @grant none
// @run-at document-start
// @require https://gf.qytechs.cn/scripts/5647-instasynchp-library/code/InstaSynchP%20Library.js
// ==/UserScript==
function EmoteNames(version) {
"use strict";
this.version = version;
this.name = 'InstaSynchP Emote Names';
}
EmoteNames.prototype.executeOnce = function () {
"use strict";
events.on(this, 'AddMessage', function () {
//check all <img> in case there can be more in the future
$('#chat-messages > :last-child span:last-child img').each(function () {
var emote;
for (emote in window.$codes) {
if (window.$codes.hasOwnProperty(emote) &&
window.$codes[emote].contains($(this).attr('src'))) {
$(this).attr('title', emote);
break;
}
}
});
});
};
window.plugins = window.plugins || {};
window.plugins.emoteNames = new EmoteNames('1.0.4');
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址