Avoid Copy Self Email in OpenAI ChatGPT

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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;
    }
    
}