If you want to do this for only app windows which have a chrome, I think you can check:
```
e.detail.config.chrome
```