Product Engineer, creator of @chatgpt4google (acquired), building @chathub_app
English account of @wong2_x
Jul 4, 2023 • 9 tweets • 3 min read
Have you ever wondered how the Bing chat sidebar in the Edge browser works? Let's discover it through reverse engineering! 🧵
First, it's important to note that the chat interface inside the sidebar is actually a web page. This allows us to inspect it using developer tools.
The page is embedded through an iframe in two layers: the built-in "discover-chat" page contains a "shell" page, which in turn contains the "chat" page (or the "compose" page).