Enumeration

WKUserScriptInjectionTime

The time when a user script should be injected into a webpage.

Declaration

enum WKUserScriptInjectionTime : Int

Topics

Constants

case atDocumentStart

Inject the script after the document element is created, but before any other content is loaded.

case atDocumentEnd

Inject the script after the document finishes loading, but before other subresources finish loading.