# UserScriptParams

Dictionary of options for the addUserScript method.

Availability
8.0.0
9.2.0
Extends
Object

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# injectionTime

Availability
8.0.0
9.2.0
injectionTime :Number

The time when the script should be injected into the webpage.

Default: Titanium.UI.iOS.INJECTION_TIME_DOCUMENT_START


# mainFrameOnly

Availability
8.0.0
9.2.0
mainFrameOnly :Boolean

A Boolean value indicating whether the script should be injected only into the main frame (true) or into all frames (false).

Default: false


# source

Availability
8.0.0
9.2.0
source :String

A script that can be injected into a webpage.