What to do if the extension cannot connect to the page?
❓ Why does the extension sometimes say “cannot connect to the page”?
If you had already opened the target page before installing the extension, Chrome does not automatically load the extension’s content script into those old pages.
As a result, the extension cannot communicate with them.
❓ How to fix it?
- Close all currently opened target pages (for example, any Perplexity.ai tabs).
- Open a new target page.
- The extension will automatically inject the required script into the new page, and the connection will work properly.
❓ Why do I need to close old pages?
- This is due to Chrome’s design: after installation, extensions do not retroactively inject scripts into pages that were already open.
- Only newly opened or refreshed pages will load the extension’s scripts.
- Closing and reopening ensures the page is properly connected to the extension.
❓ Do I need to do this every time?
No.
Once the extension is installed, any new page you open will work normally.
You only need to close and reopen pages in the special case where the page was opened before the extension was installed.