From fc14199a48c41e852a91a100554666463785d411 Mon Sep 17 00:00:00 2001 From: Mic Date: Wed, 15 May 2024 22:55:21 +0200 Subject: [PATCH] chatgpt url updated --- js/mzta-chatgpt.js | 2 +- mzta-background.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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