Fixes the broken Notion connector in ChatGPT by injecting metadata into the list_accessible and system_hints API responses
Currently, a bug in ChatGPT prevents the "Notion" connector from appearing in the apps/connectors selection list, even if your account is successfully connected.
This script intercepts the internal API calls ChatGPT makes to load the list of available apps and manually injects the missing Notion connector data.
The script listens for window.fetch requests to two specific endpoints:
backend-api/aip/connectors/list_accessible: It injects the full Notion connector object (ID: connector_37316be7febe4224b3d31465bae4dbd7) into the response list.backend-api/system_hints: It injects the Notion system hint and logo SVG into the system_hints array to ensure it renders correctly in the chat composer UI.