Hi folks, are there any extension developers here? I’ve a question, not sure if it is possible.

I created a very simple extension which opens chatgpt in the sidebar. This works great, but the thing is, every time I open the sidebar, it refreshes the page. I don’t want that, I’d rather it opens where I left off. Is there any way to accomplish this or is it a pipe dream? I’ll post my code here:
manifest.json:

{

  "manifest_version": 2,
  "name": "ChatGPT Sidebar",
  "description": "Displays ChatGPT in sidebar.",
  "version": "1.0",
  "browser_specific_settings": {
    "gecko": {
      "strict_min_version": "54.0a1"
    }
  },

  "sidebar_action": {
    "default_icon": "icons/ChatGPT_logo.svg",
    "default_title" : "ChatGPT Sidebar",
    "default_panel": "sidebar/panel.html"
  },

  "permissions": ["tabs"],

  "commands": {
    "_execute_sidebar_action": {
      "suggested_key": {
        "default": "Alt+Shift+9"
      }
    }
  }

}

And the panel.html:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="refresh" content="0;url=https://chat.openai.com/" />
  </head>
<body></body>
</html>

[edit] formatting