Skip to content

Titanium.UI.UserScriptParams

Dictionary of options for the Titanium.UI.WebView.addUserScript method.

Since: 8.0.0, 8.0.0, 9.2.0 · Platforms: iphone, ipad, macos

Properties #

injectionTime#

Type: Number

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

mainFrameOnly#

Type: Boolean

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

source#

Type: String

A script that can be injected into a webpage.

Titanium SDK Documentation