diff --git a/src/content-script/index.jsx b/src/content-script/index.jsx
index 23915a3e..a08e6843 100644
--- a/src/content-script/index.jsx
+++ b/src/content-script/index.jsx
@@ -313,9 +313,11 @@ async function prepareForForegroundRequests() {
if (!chatgptWebModelKeys.some((model) => userConfig.activeApiModes.includes(model))) return
- const div = document.createElement('div')
- document.body.append(div)
- render(, div)
+ if (chatgptWebModelKeys.includes(userConfig.modelName)) {
+ const div = document.createElement('div')
+ document.body.append(div)
+ render(, div)
+ }
await Browser.runtime.sendMessage({
type: 'SET_CHATGPT_TAB',