Injection
An Injection is code that runs inside a web page, like the content script of a Chrome extension. It runs apart from the page's own scripts. Anything Cowork puts into a page is an Injection, not an Extension.
Two sources
| Source | Use | Example |
|---|---|---|
An Extension's ctx.browser.inject | Package code reads or acts on a website's pages | A Connector that reads and sends a web chat's messages |
| Settings › Injections | A floating micromeet button on a chosen website; clicking a job on it asks the AI to do that job | Start a common job on an admin page in one click |
Rules
- An Extension can inject only into websites listed in its
origins, and only with thebrowserpermission. - A script first checks that the current address is the page it is meant for, and does nothing on any other page.
- A script does not read or send cookies, tokens or personal data.
Related
- Website Buttons (Injections) Add and remove a website button
- Extension Declaring
browserandorigins