在 ChatGPT 网页端使用 GPT-4 Mobile 模型。同时,它还提供了切换到其他模型的功能,以提供更大的灵活性。一般来说,该脚本不会与其他流行的 ChatGPT 脚本产生冲突。
< 腳本ChatGPT 模型切换器(支持 GPT-4 Mobile 及所有可用模型)的回應
If the menu doesn't show up for you, like it did for me, then change this code:
new MutationObserver((mutations) => { for (const mutation of mutations) { if (mutation.type === "childList") { const mountPoint = document.querySelector("main div.sticky"); if (mountPoint && Array.from(mountPoint.childNodes).some((child) => child.hasChildNodes()) && !document.getElementById("chatgpt-model-switcher")) { mountApp(mountPoint); break; } } } }).observe(document.body, { subtree: true, childList: true });
with this code:
document.addEventListener('DOMContentLoaded', () => { new MutationObserver((mutations) => { for (const mutation of mutations) { if (mutation.type === "childList") { const mountPoint = document.querySelector("main div.sticky"); if (mountPoint && Array.from(mountPoint.childNodes).some((child) => child.hasChildNodes()) && !document.getElementById("chatgpt-model-switcher")) { mountApp(mountPoint); break; } } } }).observe(document.body, { subtree: true, childList: true }); });
Thank you for this script!
Doesn't work for me :((using firefox)
登入以回復
If the menu doesn't show up for you, like it did for me, then change this code:
with this code:
Thank you for this script!