Replaces the generic "Google AI Studio" tab title with the actual conversation title found on the page.
Recently, Google AI Studio updated its interface, causing browser tabs to persistently show "Google AI Studio" instead of the specific name of your conversation or prompt. This makes it difficult to navigate between multiple open tabs.
This lightweight script restores the previous functionality by extracting the prompt title from the page (targeting the h1.mode-title element) and setting it as the browser tab title.
The script looks for the specific HTML element where Google displays the conversation title and syncs it to your browser tab name.
By default, it sets the tab title to just the conversation name. If you prefer to append " - AI Studio" to the end, you can edit the script and change const KEEP_SUFFIX = false; to true.