PreloadScript

external interface PreloadScript(source)

Properties

Link copied to clipboard
abstract var filePath: String

Path of the script file. Must be an absolute path.

Link copied to clipboard
abstract var id: String

Unique ID of preload script.

Link copied to clipboard
abstract var type: PreloadScriptType

Context type where the preload script will be executed. Possible values include frame or service-worker.