Trigger.io

Trigger.io Forge Documentation

Important

This documentation is deprecated, and only kept here to support users of browser extension APIs. If you are using Trigger.io for iOS or Android, see https://trigger.io/docs/.

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"]
        }
    }
}