From 0956ae6116c24ae9a8830107ce8b8aa9eb2bd6bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Wed, 24 Apr 2024 11:28:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E8=B0=83=E6=95=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tampermonkey.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tampermonkey.js b/tampermonkey.js index 693a991..84153ca 100644 --- a/tampermonkey.js +++ b/tampermonkey.js @@ -93,7 +93,7 @@ border: 1px solid #52525E; overflow: hidden; } -.___ds-tampermonkey___:hover .___ds-menus___ { +.___ds-tampermonkey___:hover:not(.___ds-tampermonkey-hide___) .___ds-menus___ { display: block; } .___ds-tampermonkey-hide___ .___ds-menus___{ @@ -171,7 +171,7 @@ // 创建插件div context.pluginElement = document.createElement('div'); context.pluginElement.id = PRE + "plugin"; - context.pluginElement.title = "油猴脚本" + (options.name ? ":" + options.name : ""); + context.pluginElement.title = "油猴插件" + (options.name ? ":" + options.name : ""); context.pluginElement.className = "___ds-tampermonkey___"; if (api.GM_getValue("ds_hide")) { context.pluginElement.classList.add("___ds-tampermonkey-hide___"); @@ -256,9 +256,9 @@ } if (isHidden) { - context.arrowElement.title = "点击展示"; + context.arrowElement.title = "点击展示「油猴插件」的操作界面"; } else { - context.arrowElement.title = "点击隐藏"; + context.arrowElement.title = "点击隐藏「油猴插件」的操作界面"; } }