您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replace user profile picture with custom image
// ==UserScript== // @name ChatGPT Replace Profile Picture // @namespace https://github.com/wbrandon25/ChatGPT-Change-Profile-Picture // @version 1.1 // @description Replace user profile picture with custom image // @author wbrandon25 // @match https://chat.openai.com/* // @grant none // @homepageURL https://github.com/wbrandon25/ChatGPT-Change-Profile-Picture // ==/UserScript== (function() { 'use strict'; // ENTER YOUR CUSTOM IMAGE URL HERE const customImageUrl = 'https://cdn.discordapp.com/attachments/1092885792298373200/1107555201382109194/firefox_zrFofziNad.png'; function replaceProfilePictures() { const images = document.getElementsByTagName('img'); for (let i = 0; i < images.length; i++) { const img = images[i]; if (img.classList.contains('rounded-sm') && img.getAttribute('data-nimg') === '1') { img.src = customImageUrl; img.srcset = customImageUrl; } } } replaceProfilePictures(); document.addEventListener('DOMNodeInserted', function() { replaceProfilePictures(); }); })();