using the new endpoint chatgpt.com
This commit is contained in:
parent
f681792cd0
commit
f66055b0c5
2 changed files with 2 additions and 2 deletions
|
|
@ -254,7 +254,7 @@ function operation_done(){
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkLoggedIn(){
|
function checkLoggedIn(){
|
||||||
return !window.location.href.startsWith('https://chat.openai.com/auth/');
|
return !window.location.href.startsWith('https://chatgpt.com/auth/');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Nello script di contenuto
|
// Nello script di contenuto
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,7 @@ async function openChatGPT(promptText, action, curr_tabId) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let newWindow = await browser.windows.create({
|
let newWindow = await browser.windows.create({
|
||||||
url: "https://chat.openai.com",
|
url: "https://chatgpt.com",
|
||||||
type: "popup",
|
type: "popup",
|
||||||
width: prefs.chatgpt_win_width,
|
width: prefs.chatgpt_win_width,
|
||||||
height: prefs.chatgpt_win_height
|
height: prefs.chatgpt_win_height
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue