I want to access the properties of a window object from a background script. I have this in manifest.json:
{
\"..\": \"..\",
You can't. The extension's background page runs in one process, while the tab that was updated runs in a separate process. Different processes can't share objects, so you can't directly access the window object of a tab from an extension's background page. You have to use a content script to get extension code to run inside the tab's process.