Files
comfyui_o1key/web/js/renameTab.js
T
JonyandClaude Opus 4.6 69279c654d feat: 新增 Grok 图像节点、前端 UI 增强、重构 nano-banana 系列
- 新增 Grok Image 节点及客户端
- 新增 save_image_format 节点
- 新增前端 JS 扩展:画笔工具、点阵网格、侧边栏隐藏、资源切换、重命名等
- 重构 nano-banana 节点,移除 pro 版本
- 移除 multi_res_preview 节点
- 新增 http_error 工具模块
- 各客户端和节点优化改进

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-05-24 22:46:55 +08:00

19 lines
525 B
JavaScript

import { app } from "../../../scripts/app.js";
app.registerExtension({
name: "o1key.renameTab",
async setup() {
const rename = () => {
if (document.title.includes("ComfyUI")) {
document.title = document.title.replace("ComfyUI", "o1key");
}
};
rename();
new MutationObserver(rename).observe(
document.querySelector("title") || document.head,
{ childList: true, subtree: true, characterData: true }
);
},
});