PreloadScriptRegistration

external interface PreloadScriptRegistration(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. Defaults to a random UUID.

Link copied to clipboard

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