init
Injects JS code at the initialization of the new page.
Same as initJS
. Every time the webview will open a new page - this initialization code will be executed. It is guaranteed that code is executed before window.onload.
Parameters
js
the JS code
Injects JS code at the initialization of the new page.
Every time the webview will open a new page - this initialization code will be executed. It is guaranteed that code is executed before window.onload.
Parameters
js
the JS code