A background script is a hidden html+js page that would be able to listen to context changes and any client-side events that happen to a board, item, workdoc or dashboard.
It allows your app to execute its functionality without adding unnecessary UI elements to the page.
I can see several use cases for such an app feature, so actively encourage this as a new feature.