Avoid Copy Self Email in OpenAI ChatGPT

To avoid copying the avatar email address in OpenAI ChatGPT's chatroom.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name           Avoid Copy Self Email in OpenAI ChatGPT
@namespace      github.com/openstyles/stylus
@version        1.0.3
@description    To avoid copying the avatar email address in OpenAI ChatGPT's chatroom.
@author         CY Fung
@license MIT
==/UserStyle== */

@-moz-document domain("chat.openai.com") {
    /* Insert code here... */
    span > span + img[src*="avatar"][alt*="@"], span > span + img[src*="gravatar"][alt]{
        user-select: none !important;
        touch-action: none !important;
    }

    img[src*="https://s.gravatar.com/avatar/"] {
        user-select: none !important;
        touch-action: none !important;
    }
    
    div.h-6.w-6 > div > img[src*="https://s.gravatar.com/avatar/"] {
        transform: scale(8);
        transform-origin: 1px 1px;
        transform-origin: 0.2px 0.2px;
    }

    body main .select-none[class] {
        user-select: none !important;
    }
    
}