Platforms to show: All Mac Windows Linux Cross-Platform

Back to WKUserScriptMBS class.

WKUserScriptMBS.Constructor(Source as String, injectionTime as Integer, isForMainFrameOnly as Boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method WebKit2 MBS Mac64bit Plugin 19.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns an initialized user script that can be added to a user content controller.

source: The script’s source code.
injectionTime: The time when the script should be injected into the webpage. Either InjectionTimeAtDocumentStart
or InjectionTimeAtDocumentEnd.
isForMainFrameOnly: A Boolean value indicating whether the script should be injected only into the main frame (YES) or into all frames (NO).

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...