bool InjectJavaScript(string js, string brNameId = null, bool includeAllFrames = false, KioBrowserWndType wndType = KioBrowserWndType.Main | KioBrowserWndType.Popup | KioBrowserWndType.Secondary, KioBrowserType brType = -1)

Injects JavaScript into almost every browser of KioWare by default. Optional parameters may be configured to inject into less, more, and even all; including all frames. Trust Level Required: High

Parameters

Name Description
js The JavaScript to inject.
brNameId Name of docked browser/toolbar (from CT) or Popup name (from window.open). If null, everything matches. This can also be the browser GUID (KioInfo.BrowserGuid and UniqueId in addin code).
includeAllFrames true to inject the JavaScript into all frames.
wndType Type of window to inject into.
brType Type of browser to inject into.

Return

true if code was injected into any browser/frame.