[webkit-help] APIs for pre-injecting JavaScript

Benjamin Poulain benjamin at webkit.org
Wed Jun 18 17:24:37 PDT 2014

On 6/18/14, 5:13 PM, Luc R. wrote:
> I am trying to find API which would allow to pre-inject a custom
> JavaScript before a web page content. Could anyone point to it?

On the new WKWebView API, you can use a WKUserScript with the injection 
time "WKUserScriptInjectionTimeAtDocumentStart".


More information about the webkit-help mailing list