import-browser-window-globalsΒΆ

For scripts included in browser-window, this will automatically inject the browser-window global scopes into the file.

This is a rule rather than an environment, as it allowed us to automatically select the files to include.