forMainFrameOnly property
A Boolean value that indicates whether to inject the script into the main frame.
Specify true to inject the script only into the main frame, or false to inject it into all frames.
The default value is true
.
NOTE: available only on iOS and MacOS.
Implementation
bool forMainFrameOnly;