AddDocumentStartJavaScriptPlugin

Plugin interface for injecting JavaScript code that executes at document start.

  • Allows plugins to inject JavaScript that will be executed before any other scripts on the page. Useful for privacy protections and that need to run as early as possible and/or on iframes.

Properties

Link copied to clipboard
abstract val context: String

Functions

Link copied to clipboard
abstract suspend fun addDocumentStartJavaScript(webView: WebView)