Skip to main content
Version: v3 (latest✅)

Custom JavaScript

⚙️ Configuration

VariableDefaultValuesDetails
JS<empty><code>
JS code. Will be executed on every page navigated.added in v3.3
JS_URL<empty><URL>
URL to JS file. Will be executed on every page navigated.added in v3.3
JS_URL_ONCE<empty><URL>
URL to JS file. Will be executed only once on first visit. Subsequent navigation will not execute it again.added in v3.3
How to set configuration options
Set the environment variables when starting the container.
Use docker run...
  • ...with -e JS=<empty>
  • ...with --env-file .env and place JS=<empty> in the file
See installation page for more details.