diff --git a/js/mzta-chatgpt.js b/js/mzta-chatgpt.js index bd5621d7..3cf4cabc 100644 --- a/js/mzta-chatgpt.js +++ b/js/mzta-chatgpt.js @@ -301,7 +301,7 @@ function operation_done(){ } function checkLoggedIn(){ - return !window.location.href.startsWith('https://chat.openai.com/auth/'); + return !window.location.href.startsWith('https://chatgpt.com/auth/'); } function showCustomTextField(){ diff --git a/mzta-background.js b/mzta-background.js index ca23d104..51a419b7 100644 --- a/mzta-background.js +++ b/mzta-background.js @@ -136,7 +136,7 @@ async function openChatGPT(promptText, action, curr_tabId, do_custom_text = 0) { return; } let newWindow = await browser.windows.create({ - url: "https://chat.openai.com", + url: "https://chatgpt.com", type: "popup", width: prefs.chatgpt_win_width, height: prefs.chatgpt_win_height