您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove profile picture in chatgpt site
// ==UserScript== // @name ChatGPT Remove Profile Picture // @namespace fabulous.cupcake.jp.net // @version 2023.04.08.1 // @author FabulousCupcake // @description Remove profile picture in chatgpt site // @license MIT // @icon https://chat.openai.com/favicon.ico // @match https://chat.openai.com/chat* // @run-at document-idle // ==/UserScript== const removeImages = () => { const imgs = Array.from(document.querySelectorAll(`img[alt*="@"]`)); imgs.forEach(img => img.remove()) } const waitForElementToExist = (selector, action) => { const elm = document.querySelector(selector); if (elm !== null) return action(elm); setTimeout(waitForElementToExist.bind(null, selector, action), 1000); }; const main = () => { waitForElementToExist(`img[alt*="@"]`, removeImages); } main();