background: Background scripts¶
Platforms: Browser
The background module allows your app to have a persistent Javascript context running in the background
Config¶
Browsers have the concept of content scripts and background files.
This field lists the files that should be included in background context.
{
"modules": {
"background": {
"files": ["js/background.js"]
}
}
}