您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Always request high-res (400px) user/character avatars all the time instead of mixing in low-res (80px) avatars in some places.
当前为
// ==UserScript== // @name Always Hi-Res c.ai Avatars // @namespace logan.usw // @version 1.0 // @description Always request high-res (400px) user/character avatars all the time instead of mixing in low-res (80px) avatars in some places. // @author astrov0id // @match https://beta.character.ai/* // @match https://plus.character.ai/* // @icon https://characterai.io/static/favicon_v2.ico // @run-at document-idle // @license Unlicense // @grant none // ==/UserScript== (function() { 'use strict'; const observer = new MutationObserver(mList => { // set up a mutationobserver to process every new element mList.forEach(m => { const allimgs = m.target.querySelectorAll("img[src^=\"https://characterai.io/i/80\"]"); // retrieve every low-res avatar image in a new element allimgs.forEach(i => { // make every low-res avatar high-res by replacing /i/80 in the img's src with /i/400 i.src = "https://characterai.io/i/400/" + i.src.slice(28); // console.debug(window.location.pathname + ": https://characterai.io/i/80/" + i.src.slice(29) + ' => ' + i.src); // debugging code, disabled in production }); }); }); observer.observe(document.body, {attributes: false, childList: true, characterData: false, subtree: true}); // start the mutationobserver })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址