WKUserScript
A script that the web view injects into a webpage.
Declaration
@MainActor class WKUserScriptOverview
Create a WKUserScript object when you want to inject custom script code into the pages of your web view. Use this object to specify the JavaScript code to inject, and parameters relating to when and how to inject that code. Before you create the web view, add this object to the WKUserContentController object associated with your web view’s configuration.